Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

Declaration

void ResetToMatchStyle()

Remarks

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