Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / FlexGrid Class / AutoSizeColumn Method
Index of the column to resize.
Whether the column index refers to a regular or a header row column.


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

    Parameters

    col
    Index of the column to resize.
    header
    Whether the column index refers to a regular or a header row column.
    See Also