TdxGaugeCustomScale.StyleName Property
Specifies the name of a visual style applied to an individual scale within the Gauge Control.
#Declaration
property StyleName: string read; write;
#Property Value
Type |
---|
string |
#Remarks
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 Style | Additional Notes | Style Example |
---|---|---|---|
‘Africa | 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. | ||
‘Clean | 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. | ||
‘Dark | 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. | ||
‘Deep | 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. | ||
‘Ice | This style is available for all scale types that can be created within the Gauge Control. | ||
‘i | 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. | ||
‘Silver | 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. | ||
‘Shining | 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. | ||
‘Sport | This style has no spindle cap element for the Arc scales. | ||
‘Yellow | 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.