FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / AutoSizeColumn Method
Column to resize.
Extra width to add to the column, in pixels.

In This Topic
    AutoSizeColumn Method (C1FlexGrid)
    In This Topic
    Resizes a column to fit its visible contents.
    Syntax
    'Declaration
     
    
    Public Sub AutoSizeColumn( _
       ByVal col As Integer, _
       ByVal extra As Double _
    ) 
    public void AutoSizeColumn( 
       int col,
       double extra
    )

    Parameters

    col
    Column to resize.
    extra
    Extra width to add to the column, in pixels.
    See Also