WinUI

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColumnWidthMode

    Show / Hide Table of Contents

    Class ColumnWidthMode

    Defines the constants that specify how the columns are sized.

    Inheritance
    System.Object
    ColumnWidthMode
    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public sealed class ColumnWidthMode : Enum

    Fields

    Auto

    The size is based on the contents of both the cells and the column header.

    Declaration
    public const ColumnWidthMode Auto
    Field Value
    Type Description
    ColumnWidthMode

    AutoLastColumnFill

    The size is based on the contents of both the cells and the column header with last column auto fill. The column to be filled can be any column.

    Declaration
    public const ColumnWidthMode AutoLastColumnFill
    Field Value
    Type Description
    ColumnWidthMode

    AutoWithLastColumnFill

    The size is based on the contents of both the cells and the column header with last column fill by default. The column to be filled can be any column.

    Declaration
    public const ColumnWidthMode AutoWithLastColumnFill
    Field Value
    Type Description
    ColumnWidthMode

    None

    No sizing. The DefaultLineSize will be set for the columns.

    Declaration
    public const ColumnWidthMode None
    Field Value
    Type Description
    ColumnWidthMode

    SizeToCells

    The size is based on the contents of the cells.

    Declaration
    public const ColumnWidthMode SizeToCells
    Field Value
    Type Description
    ColumnWidthMode

    SizeToHeader

    The size is based on the contents of the column header.

    Declaration
    public const ColumnWidthMode SizeToHeader
    Field Value
    Type Description
    ColumnWidthMode

    Star

    The size is a weighted proportion of available space.

    Declaration
    public const ColumnWidthMode Star
    Field Value
    Type Description
    ColumnWidthMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved