BaseLayoutItem.RestoreFromCustomization(LayoutGroup) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public virtual void RestoreFromCustomization(
    LayoutGroup parent
)
Public Overridable Sub RestoreFromCustomization(
    parent As LayoutGroup
)

Parameters

Name Type Description
parent LayoutGroup

A LayoutGroup descendant which represents the layout group that the current layout item will be added to.

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 parent group. If this property is set to LayoutType.Horizontal, the layout item is positioned at the parent group's right edge.

See Also