Back to Devexpress

BaseLayoutItem.RestoreFromCustomization() Method

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-ab563f1f.md

latest2.5 KB
Original Source

BaseLayoutItem.RestoreFromCustomization() Method

Restores the current layout item from the Customization Form and adds it to the root group with the default layout type.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void RestoreFromCustomization()
vb
Public Overridable Sub RestoreFromCustomization

Remarks

The default layout type is determined by the LayoutGroup.DefaultLayoutType property. By default it is set to LayoutType.Vertical, so the restored layout item is positioned at the bottom of the root group. If this property is set to LayoutType.Horizontal, the layout item is positioned at the root group’s right edge.

Note

Empty space items, splitters, labels, and separators are automatically disposed off when they are moved to the Customization Form. You should recreate them.

See Also

HideToCustomization()

Hiding

Hidden

Showing

Shown

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace