LayoutSerializationOptions Properties
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 |
|---|---|
| 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. |
See Also