Gets or sets the height and width of the control.
Syntax
Visual Basic (Declaration) | |
---|
<SRDescriptionAttribute("The size of the control in pixels.")>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
Public Property Size As Size |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Size
instance.Size = value
value = instance.Size |
C# | |
---|
[SRDescriptionAttribute("The size of the control in pixels.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
public Size Size {get; set;} |
C++/CLI | |
---|
[SRDescriptionAttribute("The size of the control in pixels.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
public:
property Size Size {
Size get();
void set ( Size value);
} |
Property Value
The
System.Drawing.Size that represents the height and width of the control in pixels.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also