Back to Devexpress

dxGaugeUnregisterStyle(TdxGaugeScaleType,string) Method

vcl-dxgaugecustomscale-dot-dxgaugeunregisterstyle-x28-c13dd088-x29.md

latest1.2 KB
Original Source

dxGaugeUnregisterStyle(TdxGaugeScaleType,string) Method

Removes a specified visual style from one of the scale types registered in the Gauge Control.

Declaration

delphi
procedure dxGaugeUnregisterStyle(AScaleType: TdxGaugeScaleType; const AStyleName: string);

Parameters

NameType
AScaleTypeTdxGaugeScaleType
AStyleNamestring

Remarks

Use this procedure to remove the visual style whose name is specified as the AStyleName parameter for the scale type specified as the AScaleType parameter.

To register the custom style for a particular scale type, use the dxGaugeRegisterStyle method.

Note

If you need to remove all currently available visual styles for the scale type, use the dxGaugeUnregisterStyles procedure instead.

See Also

dxGaugeCustomScale Unit