Skip to main content
All docs
V25.2
  • OfficeNavigationBar.SaveLayoutToRegistry(String) Method

    SECURITY-RELATED CONSIDERATIONS

    Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

    Saves the OfficeNavigationBar layout to the registry.

    Namespace: DevExpress.XtraBars.Navigation

    Assembly: DevExpress.XtraBars.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public virtual bool SaveLayoutToRegistry(
        string path
    )

    Parameters

    Name Type Description
    path String

    A registry path to the OfficeNavigationBar layout.

    Returns

    Type Description
    Boolean

    true if the layout was saved successfully; otherwise, false.

    Remarks

    Call the RestoreLayoutFromRegistry(String) to restore the saved layout.

    You can also save the layout to a stream or to an XML file.

    See Also