Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / FlexGrid Class / AutoSizeColumns Method
Index of the first column to resize.
Index of the last column to resize.
Whether the column indexes refers to regular or header row columns.


In This Topic
    AutoSizeColumns Method
    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 header As Boolean _
    ) 
    'Usage
     
    
    Dim instance As FlexGrid
    Dim startCol As Integer
    Dim endCol As Integer
    Dim header As Boolean
     
    instance.AutoSizeColumns(startCol, endCol, header)
    public void AutoSizeColumns( 
       int startCol,
       int endCol,
       bool header
    )

    Parameters

    startCol
    Index of the first column to resize.
    endCol
    Index of the last column to resize.
    header
    Whether the column indexes refers to regular or header row columns.
    See Also