Skip to main content

dxGaugeDarkNightStyleName Constant

Determines the default name of the Dark Night predefined visual scale style.

Declaration

const dxGaugeDarkNightStyleName = 'DarkNight';

Remarks

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

In order to preview the Dark Night 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 Dark Night style applied to all supported scale types:

Note

If applied to the circular, three-fourth circular, half-circular, and quarter-circular scales, the Dark Night style displays predefined colored range bar whose start and end angles correspond to the default OptionsView.AngleStart and OptionsView.AngleEnd property values of the respective arc scale. If you need to change the scale’s default start and end angle 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