DisplayRectangle Property
See Also 
Xceed.Grid Assembly > Xceed.Grid Namespace > GridPaintEventArgs 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

Visual Basic (Declaration) 
Public ReadOnly Property DisplayRectangle As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As GridPaintEventArgs
Dim value As Rectangle
 
value = instance.DisplayRectangle
C# 
public Rectangle DisplayRectangle {get;}

Property Value

A System.Drawing.Rectangle structure that represents the display rectangle of the grid element.

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 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7

See Also