alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class RowAutoFitOptions

    Represents the class that provides the options for calculating the Row height.

    Inheritance
    System.Object
    RowAutoFitOptions
    Namespace: Syncfusion.WinForms.DataGrid
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class RowAutoFitOptions : Object

    Constructors

    RowAutoFitOptions()

    Initializes a new instance of the RowAutoFitOptions class.

    Declaration
    public RowAutoFitOptions()

    Properties

    AutoSizeCalculationMode

    Gets or sets a value that indicates the mode for calculating the height of the cell based on cell content. calculates the column height in optimized way.

    Declaration
    public AutoSizeCalculationMode AutoSizeCalculationMode { get; set; }
    Property Value
    Type
    AutoSizeCalculationMode

    CanIncludeHiddenColumns

    Gets or sets a value indicating whether the hidden columns can be included during auto row sizing operation.

    Declaration
    public bool CanIncludeHiddenColumns { get; set; }
    Property Value
    Type
    System.Boolean

    ExcludeColumns

    Gets or sets the list of columns that needs to be excluded during row height calculation based on cell content.

    Declaration
    public List<string> ExcludeColumns { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<System.String>
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved