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

OptionsLayoutGrid Class

Contains options that specify how a control’s layout is stored to and restored from storage (a stream, xml file or system registry).

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v18.1.dll

Declaration

public class OptionsLayoutGrid :
    OptionsLayoutBase

The following members accept/return OptionsLayoutGrid objects:

Remarks

Various controls provide options that control how the control’s layout is stored to and restored from storage (a stream, xml file or system registry).

For instance, the XtraGrid control provides the ColumnView.OptionsLayout property of the OptionsLayoutGrid class. It specifies which of a grid’s view options should be persisted. In addition, it determines what to do with the columns that exist in the layout being restored but don’t exist in the current control’s layout, and with the columns that exist in the current control’s layout but don’t exist in the layout being restored.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OptionsLayoutGrid class.

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