FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / AutoSizeColumn Method
Index of the column to resize.
The type of column (Footer not supported).

In This Topic
    AutoSizeColumn Method (FlexGrid)
    In This Topic
    Resizes a column to fit their visible content.
    Syntax
    'Declaration
     
    Public Sub AutoSizeColumn( _
       ByVal col As Integer, _
       Optional ByVal columnType As GridRowColType _
    ) 
    public void AutoSizeColumn( 
       int col,
       GridRowColType columnType
    )

    Parameters

    col
    Index of the column to resize.
    columnType
    The type of column (Footer not supported).
    See Also