alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class AutoSizeMode

    Defines the constants that specifies how the width of the columns are adjusted.

    Inheritance
    System.Object
    AutoSizeMode
    Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public sealed class AutoSizeMode : Enum

    Fields

    AllCells

    Calculates the width of column based on header and cell contents. So, header and cell contents are not truncated.

    Declaration
    public const AutoSizeMode AllCells
    Field Value
    Type
    AutoSizeMode

    AllCellsExceptHeader

    Calculates the width of column based on cell contents. So that cell contents are not truncated.

    Declaration
    public const AutoSizeMode AllCellsExceptHeader
    Field Value
    Type
    AutoSizeMode

    AllCellsWithLastColumnFill

    Applies AutoSizeMode.AllCells width to all the columns except last column which is visible and sets the maximum between last column auto spacing width and remaining width to last column.

    Declaration
    public const AutoSizeMode AllCellsWithLastColumnFill
    Field Value
    Type
    AutoSizeMode

    ColumnHeader

    Calculates the width of column based on header content. So, header content is not truncated.

    Declaration
    public const AutoSizeMode ColumnHeader
    Field Value
    Type
    AutoSizeMode

    Fill

    Divides the total width equally for columns.

    Declaration
    public const AutoSizeMode Fill
    Field Value
    Type
    AutoSizeMode

    LastColumnFill

    Applies AutoSizeMode.AllCells width to all the columns except last column which is visible and the remaining width from total width of the control is set to last column.

    Declaration
    public const AutoSizeMode LastColumnFill
    Field Value
    Type
    AutoSizeMode

    None

    No sizing. Default column width or defined width set to column.

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