DataControlSerializationOptions.AddNewColumns Attached Property
In This Article
Gets or sets whether the columns that currently exist in the grid, but do not exist in a layout when it is restored, should be retained. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Returns
Type | Description |
---|---|
Boolean | true to retain the columns that currently exist in the grid, but do not exist in the layout being restored; false to destroy these columns. |
#Remarks
The AddNewColumns option affects how the grid's layout is restored. If the AddNewColumns property is set to true, the columns that exist in the current layout but do not exist in the layout being restored, will be retained. Otherwise, these columns will be destroyed.
To learn more, see Saving and Restoring Layout.
See Also