Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public ReadOnly Property PreferredSize As Size |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As Size value = instance.PreferredSize |
C# | |
---|---|
[BrowsableAttribute(false)] public Size PreferredSize {get;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] public: property Size PreferredSize { Size get(); } |
Property Value
A System.Drawing.Size containing the height and width, in pixels.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7