menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum AutoSizeMode - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum AutoSizeMode

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

    Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public enum AutoSizeMode

    Fields

    Name Description
    AllCells

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

    AllCellsExceptHeader

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

    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.

    ColumnHeader

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

    Fill

    Divides the total width equally for columns.

    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.

    None

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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved