Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / DisplayRectangle Property


In This Topic
    DisplayRectangle Property (GridControl)
    In This Topic
    Gets the display rectangle of the grid in client coordinates excluding the borders and scrollbars.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Overrides ReadOnly Property DisplayRectangle As Rectangle
    'Usage
     
    Dim instance As GridControl
    Dim value As Rectangle
     
    value = instance.DisplayRectangle
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public override Rectangle DisplayRectangle {get;}

    Property Value

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

    The display rectangle of the grid represents the visible portion of the grid excluding the borders and scrollbars.

    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