Xamarin.Forms

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

    Show / Hide Table of Contents

    Class AutoGenerateColumnsMode

    Describes the possible AutoGenerateColumnsMode in a SfDataGrid control based on which columns are auto generated.

    Inheritance
    System.Object
    AutoGenerateColumnsMode
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public sealed class AutoGenerateColumnsMode : Enum

    Fields

    None

    Keep the columns that are manually defined in Columns collection.

    Declaration
    public const AutoGenerateColumnsMode None
    Field Value
    Type Description
    AutoGenerateColumnsMode

    Reset

    Creates columns for all properties in a data source, retaining the columns added by the user.

    Declaration
    public const AutoGenerateColumnsMode Reset
    Field Value
    Type Description
    AutoGenerateColumnsMode

    ResetAll

    Creates columns for all properties in a data source, removing all the old columns.

    Declaration
    public const AutoGenerateColumnsMode ResetAll
    Field Value
    Type Description
    AutoGenerateColumnsMode

    RetainOld

    Creates columns for all properties in a data source, if the grid doesn't contain any user defined column, else retains only the user defined columns.

    Declaration
    public const AutoGenerateColumnsMode RetainOld
    Field Value
    Type Description
    AutoGenerateColumnsMode

    SmartReset

    Creates columns for all properties in a data source, retaining the columns added by the user and the columns with MappingName identical to the properties in the bound data source.

    Declaration
    public const AutoGenerateColumnsMode SmartReset
    Field Value
    Type Description
    AutoGenerateColumnsMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    See Also

    https://help.syncfusion.com/xamarin/sfdatagrid/columns#automatic-columns-generation
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved