ToolTip Support
27 Jun 20191 minute to read
The Tooltip shows the current value based on thumb position.
Set ToolTip Precision
The ToolTipPrecision
property is used to define the precision of the value displayed in the Tooltip.
rangeSlider.ToolTipPrecision = 2;
Set ToolTip Placement
The position of the Tooltip in relation to the thumb can be controlled by the ToolTipPlacement
property. It has the following options.
- BottomRight
- TopLeft
- None
BottomRight
The Tooltip will be placed either below the Thumb in horizontal orientation or right of the Thumb in vertical orientation.
rangeSlider.ToolTipPlacement = ToolTipPlacement.BottomRight;
TopLeft
The Tooltip will be placed either above the Thumb in horizontal orientation or left of the Thumb in vertical orientation.
rangeSlider.ToolTipPlacement = ToolTipPlacement.TopLeft;
None
Tooltip will be collapsed.
rangeSlider.ToolTipPlacement = ToolTipPlacement.None;
Tooltip color
TooltipTextColor
- Used to change the tooltip text color.
TooltipBackgroundColor
- Used to change the tooltip background color.