.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ShapeFormat.ResetToMatchStyle() Method

Removes custom formatting of the chart element and applies default formatting based on the chart style.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


void ResetToMatchStyle()


Use the ResetToMatchStyle method to restore the default formatting of the specified chart element. The default formatting is determined by the style applied to the chart (ChartObject.Style) and the current document’s theme.

To apply the standard formatting to all chart elements at the same time, call the ResetToMatchStyle method of the Chart object.

See Also