Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / AutoRemoveColumnsAndDetailConfigurations Property


In This Topic
    AutoRemoveColumnsAndDetailConfigurations Property (DataGridControl)
    In This Topic
    Gets or sets a value indicating whether existing columns and detail configurations that do not have a matching field or relation in the data source are removed from their corresponding collections. 
    Syntax
    'Declaration
     
    Public Property AutoRemoveColumnsAndDetailConfigurations As Boolean
    'Usage
     
    Dim instance As DataGridControl
    Dim value As Boolean
     
    instance.AutoRemoveColumnsAndDetailConfigurations = value
     
    value = instance.AutoRemoveColumnsAndDetailConfigurations
    public bool AutoRemoveColumnsAndDetailConfigurations {get; set;}

    Property Value

    true if existing columns and detail configurations that do not have a matching field or relation in the data source are removed from their corresponding collections (see Columns and DetailConfigurations properties); false, otherwise. By default, false.
    Remarks
    This property will be queried when the ItemsSource property is changed to "clean up" any columns and detail configurations that no longer have a matching counterpart in the data source.
    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