Back to Devexpress

XRControlStyleSheet.SaveXmlToFile(String) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcontrolstylesheet-dot-savexmltofile-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

XRControlStyleSheet.SaveXmlToFile(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Serializes the style sheet in XML format to the specified file.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public void SaveXmlToFile(
    string fileName
)
vb
Public Sub SaveXmlToFile(
    fileName As String
)

Parameters

NameTypeDescription
fileNameString

A String value that specifies the style sheet’s file name.

|

See Also

XML Serialization

XRControlStyleSheet Class

XRControlStyleSheet Members

DevExpress.XtraReports.UI Namespace