menu

WinForms

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

    Show / Hide Table of Contents

    Enum AutoSizeCalculationMode

    Defines the constants that specify the mode to measure the width cell based on its content.

    Namespace: Syncfusion.WinForms.DataGrid.Enums
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public enum AutoSizeCalculationMode

    Fields

    Name Description
    Default

    Specifies that the cell size is calculated by calculating and comparing the size of the text in a cell.

    SmartFit

    Specifies that the cell size is calculated by calculating the string width of the longest string (maximum length) in a column.

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