Xamarin.iOS Documentation | ComponentOne
C1.iOS.Grid Assembly / C1.iOS.Grid Namespace / FlexGrid Class / AutoSizeMode Property


In This Topic
    AutoSizeMode Property
    In This Topic
    Gets or sets which cells should be taken into account when auto-sizing a row or column.
    Syntax
    'Declaration
     
    
    Public Property AutoSizeMode As GridAutoSizeMode
    'Usage
     
    
    Dim instance As FlexGrid
    Dim value As GridAutoSizeMode
     
    instance.AutoSizeMode = value
     
    value = instance.AutoSizeMode
    public GridAutoSizeMode AutoSizeMode {get; set;}
    Remarks
    By default, the grid will automatically set the column width based on the content of the header and data cells in the column. This property allows you to change that to include only the headers or only the data.
    See Also