Skip to content

Slider tooltip format in a code behind #2726

Closed Answered by ElieTaillard
Switch0621 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the SetToolTipFormat function.

Example:
MaterialDesignThemes.Wpf.SliderAssist.SetToolTipFormat(yourElement, value)

This is the function in the source code:
https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/MaterialDesignThemes.Wpf/SliderAssist.cs#L28

This function was added in this PR: 4c0415c

You may not have this feature in the version you are using because it's a recent addition.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Switch0621
Comment options

@ElieTaillard
Comment options

Answer selected by ElieTaillard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants