TdxRangeControlCustomNumericClientProperties.DisplayFormat Property
Specifies the display pattern applied to all tickmark labels on the numeric scale.
Declaration
property DisplayFormat: string read; write;
Property Value
Type |
---|
string |
Remarks
You can use this property to append or prepend a custom inscription to all scale tickmark labels or replace them altogether.
The DisplayFormat property is initialized with the ‘{Value}’ Unicode string corresponding to consecutive numeric values displayed as tickmark labels on the range control‘s scale. For instance, if you need to append the ‘$’ character to all numbers corresponding to the scale tickmarks, assign the ‘${Value}’ string to this property.
To display a single specific string at each tickmark on the scale instead of normal numeric labels, assign the string to the DisplayFormat property without adding ‘{Value}’.
Note
An empty string is equivalent to ‘{Value}’ as the DisplayFormat property value.