.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

TableStyle.Name Property

Gets or sets the name of the table or pivot table style.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

string Name { get; set; }
Property Name As String
string Name { get; set; }
Property Name As String
string Name { get; set; }
Property Name As String

Property Value

Type Description
String

A string specifying the style name.

Property Value

Type Description
String

A string specifying the style name.

Property Value

Type Description
String

A string specifying the style name.

Remarks

When you add a custom table or pivot table style to the IWorkbook.TableStyles collection, you pass the new style name to the TableStyleCollection.Add method as parameter. If you duplicate an existing style using the TableStyle.Duplicate method, a new style name is automatically assigned based on the source style name. You can rename a custom style using the Name property. Note that built-in table and pivot table styles cannot be renamed. To check whether a table or pivot table style is built-in or custom, use the TableStyle.BuiltIn property.

Note

Table and pivot table styles have unique names in the collection. To ensure that there is no style under the specified name in the collection, use the TableStyleCollection.Contains method.

See Also