menu

WinForms

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

    Show / Hide Table of Contents

    Class RowAutoFitOptions

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

    Inheritance
    System.Object
    RowAutoFitOptions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class RowAutoFitOptions

    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 - 2025 Syncfusion Inc. All Rights Reserved