Xceed Grid for WinForms v4.3 Documentation
DisplayRectangle Property (VisualGridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : DisplayRectangle Property
Gets the display rectangle of the grid element. The rectangle is in client coordinates and the X and Y coordinates can be negative if the grid is scrolled.
Syntax
'Declaration
 
<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

Public ReadOnly Property DisplayRectangle As Rectangle
'Usage
 
Dim instance As VisualGridElement

Dim value As Rectangle

 

value = instance.DisplayRectangle
[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

public Rectangle DisplayRectangle {get;}

Property Value

A System.Drawing.Rectangle structure that represents the display rectangle of the grid element. If System.Drawing.Rectangle.Empty then the grid element is not visible.
Remarks

The rectangle is in client coordinates and the X and Y coordinates can be negative if the grid is scrolled. The width and height of the display rectangle never vary.

The display rectangle of the grid element does not include the Borders.

Requirements

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

See Also

Reference

VisualGridElement Class
VisualGridElement Members