Share via


Slider.ThumbToolTipValueConverter Property

Definition

Gets or sets the converter logic that converts the range value of the Slider into tool tip content.

public:
 property IValueConverter ^ ThumbToolTipValueConverter { IValueConverter ^ get(); void set(IValueConverter ^ value); };
IValueConverter ThumbToolTipValueConverter();

void ThumbToolTipValueConverter(IValueConverter value);
public IValueConverter ThumbToolTipValueConverter { get; set; }
var iValueConverter = slider.thumbToolTipValueConverter;
slider.thumbToolTipValueConverter = iValueConverter;
Public Property ThumbToolTipValueConverter As IValueConverter
<Slider ThumbToolTipValueConverter="referenceToValueConverter" />

Property Value

A converter implementation.

Remarks

By default, the Slider's thumb tooltip shows the numeric value of the slider. To show other values in the thumb tooltip, you create a custom value converter and assign it to the ThumbToolTipValueConverter property.

Applies to

See also