ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / Column Class / Width Property

In This Topic
    Width Property (Column)
    In This Topic
    Gets or sets the width of this column, in pixels (the value -1 represents the default column width).
    Syntax
    'Declaration
     
    Public Property Width As Integer
    public int Width {get; set;}
    Remarks

    Setting this property to -1 causes the grid to use the default column width for this column (see the RowColCollection.DefaultSize property).

    Width returns the width assigned to the column even if the row is invisible, and returns -1 if the row has the default height. To obtain the actual display width of a column, use the WidthDisplay property.

    See Also