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

XRControlStyleSheet.LoadFromFile(String) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.1.dll

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

Declaration

public void LoadFromFile(
    string fileName
)

Parameters

Name Type Description
fileName String

A string containing the full path to a file containing the styles that needed to be loaded.

Remarks

If the given XRControlStyleSheet contains a style with 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadFromFile(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also