Skip to main content

dxGaugeMechanicalStyleName Constant

Determines the default name of the Mechanical predefined visual scale style.

Declaration

const dxGaugeMechanicalStyleName = 'Mechanical';

Remarks

You can apply this visual style to any individual scale created within the Gauge Control by assigning the dxGaugeMechanicalStyleName global constant value to the scale’s StyleName property.

In order to preview the Mechanical style for a specific scale at design time, assign this global constant value to the scale’s StyleName property in the Object Inspector:

The following image demonstrates the Mechanical style applied to all supported scale types:

Note

If applied to the circular, three-fourth circular, half-circular, quarter-circular, and wide circular scales, the Mechanical style displays predefined colored range bar whose start and end angles correspond to the default OptionsView.AngleStart and OptionsView.AngleEnd property values, consider using another style, since the predefined range bar is a part of the scale’s background, and therefore, cannot be customized or hidden.

See Also