alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridColumnWidthMode

    Defines constants that specify how the columns in a SfTreeGrid are sized.

    Inheritance
    System.Object
    TreeGridColumnWidthMode
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public sealed class TreeGridColumnWidthMode : Enum

    Fields

    Auto

    Set the column width by calculating the maximum size among the header cell and among the cells in column.

    Declaration
    public const TreeGridColumnWidthMode Auto
    Field Value
    Type
    TreeGridColumnWidthMode

    Fill

    Divides the total width equally for columns.

    Declaration
    public const TreeGridColumnWidthMode Fill
    Field Value
    Type
    TreeGridColumnWidthMode

    FitByCell

    Set the column width by calculating the maximum size among the data cells in column except header cells.

    Declaration
    public const TreeGridColumnWidthMode FitByCell
    Field Value
    Type
    TreeGridColumnWidthMode

    FitByHeader

    Calculates the width of column based on header.

    Declaration
    public const TreeGridColumnWidthMode FitByHeader
    Field Value
    Type
    TreeGridColumnWidthMode

    LastColumnFill

    Calculates the width for the columns except the last column which is visible and the remaining width from total width of SfTreeGrid is set to last column if width of this column is not set.

    Declaration
    public const TreeGridColumnWidthMode LastColumnFill
    Field Value
    Type
    TreeGridColumnWidthMode

    None

    No auto-column sizing for the columns. Default column width or defined width set to column.

    Declaration
    public const TreeGridColumnWidthMode None
    Field Value
    Type
    TreeGridColumnWidthMode
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved