TableStyle.Duplicate(String) Method
In This Article
Creates a copy of this table or PivotTable style and specifies the new style name.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
TableStyle Duplicate(
string name
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A unique name of the new style. This value is assigned to the Table |
#Returns
Type | Description |
---|---|
Table |
A copy of the current style. |
#Remarks
You can create a custom style based on an existing table or PivotTable style (for example, a built-in style). Call the TableStyle.Duplicate method to create a copy of the specified style. This method returns a TableStyle object that allows you to define format settings for the new style.
See Also