Skip to main content
A newer version of this page is available. .

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; }

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.

Property Paths

You can access this nested property as listed below:

Show 27 property paths

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:

The following code snippets (auto-collected from DevExpress Examples) contain references to the FullLayout property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also