Class AutoFitMode
Defines the AutoFit mode for SfListView.
Inheritance
System.Object
AutoFitMode
Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public sealed class AutoFitMode : Enum
Fields
DynamicHeight
AutoFits the item based on its content and update the layout of ListViewItem if the content's height or width is changed at runtime.
Declaration
public const AutoFitMode DynamicHeight
Field Value
Type |
---|
AutoFitMode |
Remarks
For horizontal Orientation, considers the width of the item. For GridLayout, after AutoFit all items in a row, it will take the maximum item height in that row and applies to all other items in the row.
Height
AutoFits the item based on its content. When layout, consider the height of an item.
Declaration
public const AutoFitMode Height
Field Value
Type |
---|
AutoFitMode |
Remarks
For horizontal Orientation, consider the width of the item. For GridLayout, after AutoFit all items in a row, it will take the maximum item height in that row and applies to all other items in the row.
None
Considers the value of ItemSize and layout the items.
Declaration
public const AutoFitMode None
Field Value
Type |
---|
AutoFitMode |