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

XlExportOptionsBase.SheetName Property

Gets or sets a name of the sheet in the created XLS file to which a document is exported.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.2.Core.dll

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

Declaration

[DefaultValue("Sheet")]
public string SheetName { get; set; }

Property Value

Type Default Description
String "Sheet"

A String representing the sheet name set in the resulting XLS file.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SheetName
Cross-Platform Class Library ExportOptions
.Xls .SheetName
WPF Controls ExportOptionsContainer
.Xls .SheetName

Remarks

By default, the SheetName property returns an empty string, which means that the sheet name is equal to the Document.Name property value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SheetName property.

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