Back to Devexpress

TdxGaugeCustomScale.StyleName Property

vcl-dxgaugecustomscale-dot-tdxgaugecustomscale-7bd6b3cf.md

latest10.7 KB
Original Source

TdxGaugeCustomScale.StyleName Property

Specifies the name of a visual style applied to an individual scale within the Gauge Control.

Declaration

delphi
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 StyleName Property Value

|

Additional Notes

|

Style Example

| | --- | --- | --- | --- | |

Africa Sunset

|

‘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

|

‘Classic’

|

This style is not available for the Wide Circular scales.

|

| |

Clean White

|

‘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

|

‘Clever’

|

This style is not available for the Wide Circular scales.

|

| |

Cosmic

|

‘Cosmic’

|

This style has no spindle cap element for the Arc scales. The Cosmic style is not available for the Wide Circular scales.

|

| |

Dark Night

|

‘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.

|

| |

Deep Fire

|

‘DeepFire’

|

This style is available for all scale types that can be created within the Gauge Control.

|

| |

Disco

|

‘Disco’

|

This style has no spindle cap element for the Arc scales.

|

| |

Eco

|

‘Eco’

|

This style is not available for the Wide Circular scales.

|

| |

Future

|

‘Future’

|

This style has no spindle cap element for the Arc scales. The Future style is not available for the Wide Circular scales.

|

| |

Ice Cold Zone

|

‘IceColdZone’

|

This style is available for all scale types that can be created within the Gauge Control.

|

| |

iStyle

|

‘iStyle’

|

This style is not available for the Wide Circular scales.

|

| |

Mechanical

|

‘Mechanical’

|

This style is available for all scale types that can be created within the Gauge Control.

|

| |

Military

|

‘Military’

|

This style has no spindle cap element for the Arc scales.

|

| |

Red

|

‘Red’

|

This style is not available for the Wide Circular scales.

|

| |

Retro

|

‘Retro’

|

This style has no spindle cap element for the Arc scales.

|

| |

Silver Blur

|

‘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.

|

| |

Shining Dark

|

‘ShiningDark’

|

This style is available for all scale types that can be created within the Gauge Control.

|

| |

Smart

|

‘Smart’

|

This style has no spindle cap element for the Arc scales. The Smart style is not available for the Wide Circular scales.

|

| |

Sport Car

|

‘SportCar’

|

This style has no spindle cap element for the Arc scales.

|

| |

Yellow Submarine

|

‘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

|

‘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

TdxGaugeCustomScale Class

TdxGaugeCustomScale Members

dxGaugeCustomScale Unit