This example shows how to configure auto tooltip in UXSliderBar.
Example
Description
When you move UXThumb along the track, it is useful to have a tooltip that contain the value of the hovered position. To display the tooltip, you can set AutoToolTipVisibility property to True. You can also apply the standard numeric format string to the content of the tooltip. For more information on standard numeric format string, see Standards Numeric Format Strings.
The following code example shows how to display auto tooltip and set the format of the value.
Code
Model | ![]() |
---|---|
<Intersoft:UXSliderBar TickPlacement="BottomRight" TickFormat="P0" Maximum="1" LargeChange="0.1" AutoTooltipVisibility="Visible" AutoTooltipFormat="P0"/> |
The following figure shows that the tooltip is displayed when UXThumb is moved and the content is using percentage format string.