Skip to main content
A newer version of this page is available. .

XRControlStyleSheet.LoadFromStream(Stream) Method

Loads the styles from the given stream into the current XRControlStyleSheet object.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public void LoadFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object which stores the loaded style sheet.

Remarks

Use this method to load a style sheet saved to a stream by the XRControlStyleSheet.SaveToStream method. If the given XRControlStyleSheet contains a style which has the same name as one of the styles to be loaded and they differ from each other then the style being loaded will replace the existing one. If the two styles don’t differ then the existing style will be retained in the XRControlStyleSheet.

See Also