Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Frame Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : Frame Property





Specifies the thickness of the frame that you add to the BitmapSourceViewerElement Control. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property Frame As Size
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim value As Size
 
instance.Frame = value
 
value = instance.Frame
C# 
public Size Frame {get; set;}
C++/CLI 
public:
property Size Frame {
   Size get();
   void set (Size value);
}
XAML Attributes Usage 

<object Frame=Size .../>

Dependencies Property Information 

Identifier field

FrameProperty

Metadata properties set to true

AffectsMeasure, Inherits

XAML Property Element Usage 

<object> <object.Frame> <Size .../> </object.Frame> </object>

XAML Attributes Usage 

<object Frame=Size .../>

Dependencies Property Information 

Identifier field

FrameProperty

Metadata properties set to true

AffectsMeasure, Inherits

XAML Property Element Usage 

<object> <object.Frame> <Size .../> </object.Frame> </object>

Return Value

The size of the frame, or 0 to disable the frame.

Example

For XAML example, refer to Source.

For C#/VB examples, refer to BitmapSourceViewerElement.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also