Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.31 KB

slider_thumbtooltipvalueconverter.md

File metadata and controls

35 lines (24 loc) · 1.31 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Slider.ThumbToolTipValueConverter
winrt property

Windows.UI.Xaml.Controls.Slider.ThumbToolTipValueConverter

-description

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

-xaml-syntax

<Slider ThumbToolTipValueConverter="referenceToValueConverter" />

-xaml-values

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

-examples

-see-also

IsThumbToolTipEnabled