alexa
menu

WinUI

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

    Show / Hide Table of Contents

    Class AutoGenerateColumnsModeForCustomType

    Defines the constants that specify how columns are auto-generated for custom type properties.

    Inheritance
    System.Object
    AutoGenerateColumnsModeForCustomType
    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public sealed class AutoGenerateColumnsModeForCustomType : Enum
    Remarks

    Use AutoGenerateColumnsForCustomType to control whether the grid generates columns for the parent property, the child properties, or both.

    Fields

    Both

    Specifies that columns for both the custom type and its inner properties will be auto-generated.

    Declaration
    public const AutoGenerateColumnsModeForCustomType Both
    Field Value
    Type
    AutoGenerateColumnsModeForCustomType
    Remarks

    This mode combines the behavior of Child and Parent.

    Child

    Specifies that only the columns for all inner properties of the custom type will be auto-generated.

    Declaration
    public const AutoGenerateColumnsModeForCustomType Child
    Field Value
    Type
    AutoGenerateColumnsModeForCustomType
    Remarks

    The custom type itself is not generated as a column.

    Parent

    Specifies that only the column for the custom type will be auto-generated.

    Declaration
    public const AutoGenerateColumnsModeForCustomType Parent
    Field Value
    Type
    AutoGenerateColumnsModeForCustomType
    Remarks

    Inner properties of the custom type are ignored.

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved