Back to Devexpress

AccordionControl.RestoreLayoutFromRegistry(String) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-dot-restorelayoutfromregistry-x28-system-dot-string-x29.md

latest2.5 KB
Original Source

AccordionControl.RestoreLayoutFromRegistry(String) Method

SECURITY-RELATED CONSIDERATIONS

Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

Loads the AccordionControl layout, stored in registry.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void RestoreLayoutFromRegistry(
    string path
)
vb
Public Overridable Sub RestoreLayoutFromRegistry(
    path As String
)

Parameters

NameTypeDescription
pathString

A String value that is the registry path where the AccordionControl layout is stored.

|

Remarks

To save the current AccordionControl layout to registry, use the AccordionControl.SaveLayoutToRegistry method. You can also use the Workspace Manager component and Persistence Behavior for centralized application layout management.

See Also

SaveLayoutToRegistry(String)

Save and Restore Layouts of DevExpress controls

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace