windowsforms-devexpress-dot-xtralayout-dot-layoutserializationoptions-dot-underscore-members.md
Contains options that specify how the LayoutControl’s layout is saved to and restored from a data store (an XML file, a stream or the system registry).
| Name | Description |
|---|---|
| LayoutSerializationOptions() | Initializes a new instance of the LayoutSerializationOptions class with default settings. |
| Name | Description |
|---|---|
| DiscardOldItems | Gets or sets whether the items that exist in a layout when it’s restored, but that don’t exist in the current layout control, should be discarded or added to the control. |
| RecreateIFixedItems | Gets or sets whether or not secondary layout items should be re-created when restoring the LayoutControl’s layout. |
| RestoreAppearanceItemCaption | Gets or sets whether the appearance settings of item captions are loaded when a layout is loaded from a data store. |
| RestoreAppearanceTabPage | Gets or sets whether the appearance settings of tab pages are loaded when a layout is loaded from a data store. |
| RestoreGroupEnabled | Gets or sets whether layout items’ state settings (LayoutGroup.Enabled) are restored when restoring the control’s layout from a data store. |
| RestoreGroupPadding | Gets or sets whether layout groups’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store. |
| RestoreGroupSpacing | Gets or sets whether layout groups’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store. |
| RestoreLayoutGroupAppearanceGroup | Gets or sets whether the appearance settings of groups are loaded when a layout is loaded from a data store. |
| RestoreLayoutItemCustomizationFormText | Gets or sets whether values of layout items’ BaseLayoutItem.CustomizationFormText properties are restored when restoring the control’s layout from a data store. |
| RestoreLayoutItemEnabled | Gets or sets whether layout items’ state settings (LayoutControlItem.Enabled) are restored when restoring the control’s layout from a data store. |
| RestoreLayoutItemPadding | Gets or sets whether layout items’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store. |
| RestoreLayoutItemSpacing | Gets or sets whether layout items’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store. |
| RestoreLayoutItemText | Gets or sets whether layout items’ captions are restored when restoring the control’s layout from a data store. |
| RestoreRootGroupPadding | Gets or sets whether the layout root group’s padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store. |
| RestoreRootGroupSpacing | Gets or sets whether the layout root group’s spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store. |
| RestoreTabbedGroupPadding | Gets or sets whether tabbed groups’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store. |
| RestoreTabbedGroupSpacing | Gets or sets whether tabbed groups’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store. |
| RestoreTextToControlDistance | Gets or sets whether values of the TextToControlDistance properties (BaseLayoutItem.TextToControlDistance and LayoutGroup .OptionsItemText.TextToControlDistance) are restored when you load the control’s layout from a data store. |
| StoreAppearance | Gets or sets whether the control’s appearance settings are stored (restored) when the layout is saved to (loaded from) storage. |
| StoreEnabledState | Gets or sets whether “enabled” states of layout items are stored (restored) when the layout is saved to (loaded from) storage. |
| StorePrintOptions | Gets or sets whether print settings are stored (restored) when the layout is saved to (loaded from) storage. |
| StoreSpaceOptions | Gets or sets whether padding, margin, and distance settings are stored (restored) when the layout is saved to (loaded from) storage. |
| StoreText | Gets or sets whether captions of layout items and groups are stored (restored) when the layout is saved to (loaded from) storage. |
| Name | Description |
|---|---|
| Assign(BaseOptions) | Copies options from the specified object to the current object. |
| BeginUpdate() | Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions. |
| CancelUpdate() | Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions. |
| EndUpdate() | Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Reset() | Resets all options to their default values. Inherited from BaseOptions. |
| ToString() | Returns a string representing the currently enabled options. Inherited from BaseOptions. |
See Also