menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AutoFitMode - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AutoFitMode

    Defines the AutoFit mode for SfListView.

    Inheritance
    System.Object
    AutoFitMode
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.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
    Back to top Generated by DocFX
    OSZAR »
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved
    OSZAR »