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

TdxRangeControlCustomNumericClientProperties.DisplayFormat Property

Specifies the display pattern applied to all tickmark labels on the numeric scale.

#Declaration

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

See Also