Back to Devexpress

LayoutSerializationOptions Properties

windowsforms-devexpress-dot-xtralayout-dot-layoutserializationoptions-dot-underscore-properties.md

latest7.3 KB
Original Source

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).

NameDescription
DiscardOldItemsGets 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.
RecreateIFixedItemsGets or sets whether or not secondary layout items should be re-created when restoring the LayoutControl’s layout.
RestoreAppearanceItemCaptionGets or sets whether the appearance settings of item captions are loaded when a layout is loaded from a data store.
RestoreAppearanceTabPageGets or sets whether the appearance settings of tab pages are loaded when a layout is loaded from a data store.
RestoreGroupEnabledGets or sets whether layout items’ state settings (LayoutGroup.Enabled) are restored when restoring the control’s layout from a data store.
RestoreGroupPaddingGets or sets whether layout groups’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store.
RestoreGroupSpacingGets or sets whether layout groups’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store.
RestoreLayoutGroupAppearanceGroupGets or sets whether the appearance settings of groups are loaded when a layout is loaded from a data store.
RestoreLayoutItemCustomizationFormTextGets or sets whether values of layout items’ BaseLayoutItem.CustomizationFormText properties are restored when restoring the control’s layout from a data store.
RestoreLayoutItemEnabledGets or sets whether layout items’ state settings (LayoutControlItem.Enabled) are restored when restoring the control’s layout from a data store.
RestoreLayoutItemPaddingGets or sets whether layout items’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store.
RestoreLayoutItemSpacingGets or sets whether layout items’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store.
RestoreLayoutItemTextGets or sets whether layout items’ captions are restored when restoring the control’s layout from a data store.
RestoreRootGroupPaddingGets or sets whether the layout root group’s padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store.
RestoreRootGroupSpacingGets or sets whether the layout root group’s spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store.
RestoreTabbedGroupPaddingGets or sets whether tabbed groups’ padding settings (BaseLayoutItem.Padding) are restored when restoring the control’s layout from a data store.
RestoreTabbedGroupSpacingGets or sets whether tabbed groups’ spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control’s layout from a data store.
RestoreTextToControlDistanceGets 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.
StoreAppearanceGets or sets whether the control’s appearance settings are stored (restored) when the layout is saved to (loaded from) storage.
StoreEnabledStateGets or sets whether “enabled” states of layout items are stored (restored) when the layout is saved to (loaded from) storage.
StorePrintOptionsGets or sets whether print settings are stored (restored) when the layout is saved to (loaded from) storage.
StoreSpaceOptionsGets or sets whether padding, margin, and distance settings are stored (restored) when the layout is saved to (loaded from) storage.
StoreTextGets or sets whether captions of layout items and groups are stored (restored) when the layout is saved to (loaded from) storage.

See Also

LayoutSerializationOptions Class

LayoutSerializationOptions Members

DevExpress.XtraLayout Namespace