WinUI | ComponentOne
C1.WinUI.Grid Assembly / C1.WinUI.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
    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