-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Slider.ThumbToolTipValueConverter |
winrt property |
Gets or sets the converter logic that converts the range value of the Slider into tool tip content.
<Slider ThumbToolTipValueConverter="referenceToValueConverter" />
- referenceToValueConverter
- referenceToValueConverterA inline reference to an existing implementation of a converter. Typically this is done by instantiating an object element for the IValueConverter implementing class as a resource and giving that resource a key. Then you reference the resource by key through a {StaticResource} markup extension usage to provide the attribute value for ThumbToolTipValueConverter.
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.