TdxGaugeCustomScale.AnchorScaleIndex Property
Specifies an index of the scale’s parent object.
Declaration
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