Back to Devexpress

dxGaugeUnregisterScale(TdxGaugeCustomScaleClass,Boolean) Method

vcl-dxgaugecustomscale-dot-dxgaugeunregisterscale-x28-4e97141d-x29.md

latest1.3 KB
Original Source

dxGaugeUnregisterScale(TdxGaugeCustomScaleClass,Boolean) Method

Removes the specified scale type from the list of scale types available in the Gauge Control.

Declaration

delphi
procedure dxGaugeUnregisterScale(AScaleClass: TdxGaugeCustomScaleClass; AUnregisterPredefinedStyle: Boolean = True);

Parameters

NameType
AScaleClassTdxGaugeCustomScaleClass
AUnregisterPredefinedStyleBoolean

Remarks

Use this procedure to make the scale type, specified as the AScaleClass parameter, unavailable in the Gauge Control. The optional AUnregisterPredefinedStyle parameter specifies whether the all visual styles associated with the unregistered scale type.

To register the implemented custom scale type in the Gauge Control, use the dxGaugeRegisterScale procedure.

Note

If you need to unregister all available scale types at once, use the dxGaugeUnregisterScales method instead.

See Also

dxGaugeCustomScale Unit