OptionsColumnLayout.AddNewColumns Property

Gets or sets whether the columns that exist in the current control but do not exist in a layout when it's restored should be retained.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll

Declaration

[DefaultValue(true)]
public bool AddNewColumns { get; set; }
<DefaultValue(True)>
Public Property AddNewColumns As Boolean

Property Value

Type Default Description
Boolean

true

true to retain the columns that exist in the current control's layout but don't exist in the layout being restored; false to destroy such columns.

Property Paths

You can access this nested property as listed below:

Show 23 property paths
Library Object Type Path to AddNewColumns
Cross-Platform Class Library OptionsLayoutGrid
.Columns.AddNewColumns
PivotGridOptionsLayout
.Columns.AddNewColumns
WinForms Controls AdvBandedGridView
.OptionsLayout.Columns.AddNewColumns
BandedGridView
.OptionsLayout.Columns.AddNewColumns
ColumnView
.OptionsLayout.Columns.AddNewColumns
CardView
.OptionsLayout.Columns.AddNewColumns
GridView
.OptionsLayout.Columns.AddNewColumns
LayoutView
.OptionsLayout.Columns.AddNewColumns
TileView
.OptionsLayout.Columns.AddNewColumns
TileView
.OptionsLayout.Columns.AddNewColumns
TileViewOptionsLayout
.Columns.AddNewColumns
WinExplorerView
.OptionsLayout.Columns.AddNewColumns
WinExplorerView
.OptionsLayout.Columns.AddNewColumns
WinExplorerViewOptionsLayout
.Columns.AddNewColumns
PivotGridControl
.OptionsLayout.Columns.AddNewColumns
PropertyGridControl
.OptionsLayout.Columns.AddNewColumns
VGridControl
.OptionsLayout.Columns.AddNewColumns
VGridControlBase
.OptionsLayout.Columns.AddNewColumns
VGridOptionsLayout
.Columns.AddNewColumns
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsLayout.Columns.AddNewColumns
PivotGridWebOptionsLayout
.Columns.AddNewColumns
MVCxPivotGrid
.OptionsLayout.Columns.AddNewColumns
Reporting XRPivotGrid
.OptionsLayout.Columns.AddNewColumns

Remarks

This option affects how the control's layout is restored. If it's set to true the columns that exist in the current control's layout but do not exist in the layout being restored will be retained. Otherwise, these columns will be destroyed.

See Also