OptionsLayoutBase.FullLayout Property

Returns an OptionsLayoutBase object whose settings indicate that the full layout of the control should be stored to and restored from storage (a stream, xml file or system registry).

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v19.2.dll

Declaration

public static OptionsLayoutBase FullLayout { get; }
Public Shared ReadOnly Property FullLayout As OptionsLayoutBase

Property Value

Type Description
OptionsLayoutBase

A OptionsLayoutBase object whose settings indicate that the full layout of the control should be stored to/restored from storage.

Remarks

A control can provide methods to save only specific options to and restore them from storage (a stream, xml file or system registry). Such methods take a OptionsLayoutBase parameter, and this determines which settings should be affected. To affect all the possible settings when the layout is stored or restored, you can pass the FullLayout object as this parameter.

The following is applied when restoring a layout in the XtraGrid control, using one of its RestoreLayoutFrom... methods, taking the FullLayout object as a parameter. Columns added to a View after the layout has been saved will be destroyed on restoring the layout. To retain the newly added columns when restoring the layout, do not call the RestoreLayoutFrom... method with the FullLayout object as a parameter. Use one of the following solutions instead:

See Also