TableStyle.Duplicate(String) Method
Creates a copy of this table or PivotTable style and specifies the new style name.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A unique name of the new style. This value is assigned to the TableStyle.Name property. |
Returns
Type | Description |
---|---|
TableStyle | 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