Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DetailConfiguration Class / AutoCreateColumns Property


In This Topic
    AutoCreateColumns Property (DetailConfiguration)
    In This Topic
    Gets or sets a value indicating whether the columns of the detail are automatically created.
    Syntax
    'Declaration
     
    Public Property AutoCreateColumns As Boolean
    'Usage
     
    Dim instance As DetailConfiguration
    Dim value As Boolean
     
    instance.AutoCreateColumns = value
     
    value = instance.AutoCreateColumns
    public bool AutoCreateColumns {get; set;}

    Property Value

    true if the columns of the detail are automatically created; false otherwise. By default, false.
    Remarks
    Cell editors need to be explicitly provided for each column in order to support insertion when AutoCreateColumns is set to false (see Column.CellEditor property).
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also