Back to Devexpress

AccordionControl.RestoreFromStream(Stream) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-dot-restorefromstream-x28-system-dot-io-dot-stream-x29.md

latest2.1 KB
Original Source

AccordionControl.RestoreFromStream(Stream) 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 a stream.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void RestoreFromStream(
    Stream stream
)
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Sub RestoreFromStream(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

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

|

Remarks

The RestoreFromStream method is obsolete. Use AccordionControl.RestoreLayoutFromStream instead.

See Also

RestoreLayoutFromStream(Stream)

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace