FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / AutoSizeFixedColumns Method / AutoSizeFixedColumns(Int32,Int32,Double) Method
Index of the first column to resize.
Index of the last column to resize.
Extra width to add to the column, in pixels.

In This Topic
    AutoSizeFixedColumns(Int32,Int32,Double) Method
    In This Topic
    Resizes a range of fixed columns to fit their visible contents.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AutoSizeFixedColumns( _
       ByVal startCol As Integer, _
       ByVal endCol As Integer, _
       ByVal extra As Double _
    ) 
    public void AutoSizeFixedColumns( 
       int startCol,
       int endCol,
       double extra
    )

    Parameters

    startCol
    Index of the first column to resize.
    endCol
    Index of the last column to resize.
    extra
    Extra width to add to the column, in pixels.
    See Also