Gets or sets the dimensions of the rectangle.
Namespace:
System.Windows.Media
Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Property Rect As Rect
Get
Set
Dim instance As RectangleGeometry
Dim value As Rect
value = instance.Rect
instance.Rect = value
public Rect Rect { get; set; }
<RectangleGeometry Rect="Rect"/>
Property Value
Type:
System.Windows..::.RectThe Rect structure that describes the position and size of the rectangle. The default is nullNothingnullptra null reference (Nothing in Visual Basic).
Dependency property identifier field: RectProperty
The XAML attribute syntax for Rect is in the form Rect="x,y,width,height". For details on the Rect attribute syntax, see Rect.
The x,y origin point and the width,height dimensions of a Rect can all be specified as negative values. For details, see Rect.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference
Other Resources