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 | None |
XAML Property Element Usage | |
---|---|
<object> <object.Frame> <Size .../> </object.Frame> </object> |
Return Value
The size of the frame, 0 to disable the frame.For XAML example, refer to BitmapSourceViewer.
For C#/VB examples, refer to BitmapSourceViewer.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family