Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / VisualGridElement Class / ClientRectangle Property


In This Topic
    ClientRectangle Property (VisualGridElement)
    In This Topic
    Gets the client rectangle of the grid element. The rectangle represents the visible portion of the grid element and is in client coordinates. The X and Y coordinates are always 0,0.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public ReadOnly Property ClientRectangle As Rectangle
    'Usage
     
    Dim instance As VisualGridElement
    Dim value As Rectangle
     
    value = instance.ClientRectangle
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public Rectangle ClientRectangle {get;}

    Property Value

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

    The rectangle represents the visible portion of the grid element and is in client coordinates. The X and Y coordinates are always 0,0. The width and height of the client rectangle vary depending on how much of the grid element is visible in the grid.

    The client 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