FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / Column Class / Left Property

In This Topic
    Left Property (Column)
    In This Topic
    Gets the position of the left of this column, in pixels, relative to the grid.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Left As Integer
    public int Left {get;}
    Remarks

    The value returned is the sum of column widths from the left of the grid until this column, and does not account for the scroll position. To account for the scroll position, this value should be adjusted using the grid's C1.Win.FlexGrid.Util.BaseControls.ScrollableControl.ScrollPosition property.

    To retrieve the size and position of a cell, use the C1FlexGridBase.GetCellRect method.

    See Also