Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGaugeCustomScale.AnchorScaleIndex Property

Specifies an index of the scale’s parent object.

#Declaration

Delphi
property AnchorScaleIndex: Integer read; write;

#Property Value

Type
Integer

#Remarks

This property specifies the scale’s position within the Gauge Control‘s scales hierarchy. Use the AnchorScaleIndex property to assign the parent object of the scale to which it is anchored by specifying its zero-based index in the Gauge Control’s Scales collection. If the AnchorScaleIndex property is set to -1, the scale’s parent object is the Gauge Control itself:

Note

The AnchorScaleIndex property is useful if you need to anchor the scale to another parent object at runtime.

The default value of the AnchorScaleIndex property is -1.

See Also