Class GridRowSizingOptions
Represents a class that provides options to customize the auto row sizing in SfDataGrid.
Inheritance
System.Object
GridRowSizingOptions
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridRowSizingOptions : Object
Constructors
GridRowSizingOptions()
Initializes a new instance of GridRowSizingOptions class.
Declaration
public GridRowSizingOptions()
Properties
AutoFitMode
Gets or sets a value that indicates the mode for calculating the height of the cell based on cell content. SmartFit calculates the column height in optimized way.
Declaration
public AutoFitMode AutoFitMode { get; set; }
Property Value
Type | Description |
---|---|
AutoFitMode | One of the AutoFitMode enumeration that specifies the way to measure the height of each cell in corresponding row. The default value is SmartFit. |
CanIncludeHiddenColumns
Gets or sets a value that indicates whether the hidden columns can be included during auto row sizing operation.
Declaration
public bool CanIncludeHiddenColumns { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the hidden columns are included; otherwise, false. |
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> |