Skip to main content

XlSheetCreatedEventArgs.SheetName Property

Specifies the Excel sheet name.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public string SheetName { get; set; }

#Property Value

Type Description
String

A String value.

#Remarks

When naming a sheet, consider the following constraints.

  • A sheet name must be unique.
  • A sheet name must not exceed 31 characters.
  • A sheet name must not contain the following symbols: , /, ?, :, *, [ or ]
  • The sheet name must not start and end with a single quote (‘).
  • A sheet name must not be an empty string.

An ArgumentException occurs when the sheet name does not meet the aforementioned requirements.

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