Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
Frame Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewer Class : Frame Property





Specifies the thickness of the frame that you add to the BitmapSourceViewer control. This is a dependency property.

Syntax

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

<object Frame=Size .../>

Dependency Property Information 

Identifier field

FrameProperty

Metadata properties set to true

None

XAML Property Element Usage 

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

Return Value

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

Example

For XAML example, refer to BitmapSourceViewer.

For C#/VB examples, refer to BitmapSourceViewer.

Requirements

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

See Also