Skip to main content

dxGaugeRegisterStyle(TdxGaugeScaleType,string) Method

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

Declaration

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

Parameters

Name Type
AScaleType TdxGaugeScaleType
AStyleName string

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