Visual Basic (Declaration) | |
---|---|
Public Overridable Property Rectangle As Rectangle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementControl Dim value As Rectangle instance.Rectangle = value value = instance.Rectangle |
C# | |
---|---|
public virtual Rectangle Rectangle {get; set;} |
Property Value
Rectangle object containing the bounding rectangleProvide a Rectangle object to specify the rectangle for the control's dimensions.
This property is available at run time only.
For more information, see the Rectangle structure in the Microsoft .NET Framework Reference.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2