Visual Basic (Declaration) | |
---|---|
Public Property Frame As Size |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Size Frame {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Size get_Frame(); public: __property void set_Frame( Size value ); |
XAML Attributes Usage | |
---|---|
<object Frame=Size .../> |
Dependency Property Information | |
---|---|
Identifier field | |
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.For XAML example, refer to Source.
For C#/VB examples, refer to BitmapSourceViewerElement.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family