Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRControlStyleSheet.LoadFromFile(String) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.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.

See Also