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

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

    Parameters

    startCol
    Index of the first column to resize.
    endCol
    Index of the last column to resize.
    columnType
    The type of column (Footer not supported).
    See Also