Skip to main content

AccordionControl.RestoreFromStream(Stream) Method

Loads the AccordionControl layout, stored in a stream.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public virtual void RestoreFromStream(
    Stream stream


Name Type Description
stream Stream

A String value that is the name of the stream that keeps the AccordionControl layout.


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


The RestoreFromStream and AccordionControl.RestoreLayoutFromStream methods are equivalent.

See Also