Skip to content

Conversation

@cjmurph
Copy link
Contributor

@cjmurph cjmurph commented May 13, 2022

This feature can work around issue #2685 and it's also useful to have.

The attached property allows a string format to be spcified as per below:

    <Slider  
        wpf:SliderAssist.ToolTipFormat="a value of {0} is selected"
        Maximum="100"
        Minimum="0"
        Style="{StaticResource MaterialDesignDiscreteSlider}"
        TickFrequency="10"
        TickPlacement="BottomRight"
        Value="{Binding Value}"/>

Which look ssomething like this
image

With nothing specified or an invalid format, the value is shown raw and unformatted.

@Keboo Keboo added this to the 4.6.0 milestone May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants