Back to Devexpress

OptionsColumnLayout.StoreLayout Property

corelibraries-devexpress-dot-utils-dot-optionscolumnlayout-59083470.md

latest2.5 KB
Original Source

OptionsColumnLayout.StoreLayout Property

Gets or sets whether the position, width and visibility of the columns and bands are stored when the layout is saved to storage and restored when the layout is restored from storage.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the position, width and visibility of columns and bands are included in the layout when it’s saved to storage and these settings are restored when the layout is restored from storage; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StoreLayout
OptionsLayoutGrid

.Columns .StoreLayout

|

Remarks

This option determines if the appearance settings of the columns and bands are included in the control’s layout when it’s saved to storage (a stream, xml file or the system registry). If the StoreLayout option is set to false , the settings that are included in the layout when it’s stored are dependent upon the options of the OptionsColumnLayout object (only those settings which have their corresponding Store… properties set to true will be included).

If the layout is being restored from storage and the StoreLayout option is set to true the control will try to load the appropriate options from storage. If these options cannot be found in the stored layout, the control’s corresponding options will be set to their default values.

See Also

OptionsColumnLayout Class

OptionsColumnLayout Members

DevExpress.Utils Namespace