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


In This Topic
    Bounds Property (VisualGridElement)
    In This Topic
    Gets a System.Drawing.Rectangle structure that represents the grid element's bounds. The X and Y coordinates are relative to the grid's client rectangle and can be negative if the grid is scrolled.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public ReadOnly Property Bounds As Rectangle
    'Usage
     
    Dim instance As VisualGridElement
    Dim value As Rectangle
     
    value = instance.Bounds
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public Rectangle Bounds {get;}

    Property Value

    A System.Drawing.Rectangle structure that represents the grid element's bounds.
    Remarks

    The X and Y coordinates are relative to the grid's and can be negative if the grid is scrolled.

    If System.Drawing.Rectangle.Empty, no part of the grid element is visible.

    The width and height of this rectangle 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