Back to Devexpress

dxGaugeRegisterStyle(TdxGaugeScaleType,string) Method

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

latest1.2 KB
Original Source

dxGaugeRegisterStyle(TdxGaugeScaleType,string) Method

Adds a custom style for one of the scale types registered in the Gauge Control.

Declaration

delphi
function dxGaugeRegisterStyle(AScaleType: TdxGaugeScaleType; const AStyleName: string): Boolean;

Parameters

NameType
AScaleTypeTdxGaugeScaleType
AStyleNamestring

Returns

Type
Boolean

Remarks

Use this function to register an additional visual style for one of the scale types available within the Gauge Control. The AStyleName parameter specifies the registered style while the AScaleType parameter specifies the scale type for which this style becomes available.

The dxGaugeRegisterStyle function returns True if the scale’s visual style was registered successfully; otherwise, False.

See Also

dxGaugeCustomScale Unit