Skip to main content

RibbonControl.SaveLayout(Object) Method

Initializes the serialization process when saving a custom user layout.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public virtual void SaveLayout(
    object path
)

#Parameters

Name Type Description
path Object

A path to an .xml file for the custom layout to be saved in.

#Remarks

The SaveLayout method saves a custom layout of a RibbonControl to an .xml file or a stream. To restore the custom layout, use the RibbonControl.RestoreLayout method.

Saving and restoring layouts is part of the Ribbon Runtime Customization feature.

See Also