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 > 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;}
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

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