vcl-dxgaugecustomscale-dot-tdxgaugecustomscale-7bd6b3cf.md
Specifies the name of a visual style applied to an individual scale within the Gauge Control.
property StyleName: string read; write;
| Type |
|---|
| string |
The Gauge Control provides a set of distinctive styles which can be applied to individual scales. In order to apply a specific style to the scale, assign one of the style names to the StyleName property, either at design time or runtime:
|
Scale Style Name
|
The StyleName Property Value
|
Additional Notes
|
Style Example
| | --- | --- | --- | --- | |
|
‘AfricaSunset’
|
The default style that is automatically applied to all newly created scales. This style has no spindle cap element for the Arc scales.
The predefined range bar is a part of the style’s background layer.
|
| |
|
‘Classic’
|
This style is not available for the Wide Circular scales.
|
| |
|
‘CleanWhite’
|
This style has no spindle cap element for the Arc scales. The Clean White style has a color marked scale.
The predefined range bar is a part of the style’s background layer.
|
| |
|
‘Clever’
|
This style is not available for the Wide Circular scales.
|
| |
|
‘Cosmic’
|
This style has no spindle cap element for the Arc scales. The Cosmic style is not available for the Wide Circular scales.
|
| |
|
‘DarkNight’
|
This style is available for all scale types that can be created within the Gauge Control.
The predefined range bar is a part of the style’s background layer.
|
| |
|
‘DeepFire’
|
This style is available for all scale types that can be created within the Gauge Control.
|
| |
|
‘Disco’
|
This style has no spindle cap element for the Arc scales.
|
| |
|
‘Eco’
|
This style is not available for the Wide Circular scales.
|
| |
|
‘Future’
|
This style has no spindle cap element for the Arc scales. The Future style is not available for the Wide Circular scales.
|
| |
|
‘IceColdZone’
|
This style is available for all scale types that can be created within the Gauge Control.
|
| |
|
‘iStyle’
|
This style is not available for the Wide Circular scales.
|
| |
|
‘Mechanical’
|
This style is available for all scale types that can be created within the Gauge Control.
|
| |
|
‘Military’
|
This style has no spindle cap element for the Arc scales.
|
| |
|
‘Red’
|
This style is not available for the Wide Circular scales.
|
| |
|
‘Retro’
|
This style has no spindle cap element for the Arc scales.
|
| |
|
‘SilverBlur’
|
This style is available for all scale types that can be created within the Gauge Control.
The predefined range bar is a part of the style’s background layer.
|
| |
|
‘ShiningDark’
|
This style is available for all scale types that can be created within the Gauge Control.
|
| |
|
‘Smart’
|
This style has no spindle cap element for the Arc scales. The Smart style is not available for the Wide Circular scales.
|
| |
|
‘SportCar’
|
This style has no spindle cap element for the Arc scales.
|
| |
|
‘YellowSubmarine’
|
This style has no spindle cap element for the Arc scales. The Yellow Submarine style is not available for the Wide Circular scales.
|
| |
|
‘White’
|
This style has no spindle cap element for the Arc scales.
|
|
Note
The selected style can affect multiple scale layout parameters, such as the height-to-width ratio, allowed angle ranges, the default number of minor and major tick marks, etc.
See Also