Skip to content

Conversation

@corvinsz
Copy link
Member

@corvinsz corvinsz commented Oct 28, 2024

This should fix #3628

This is kinda hacky but I couldn't think of another way of solving this.

Since we don't have a "code file" (Slider.cs) for Sliders, I added an attached property to the SliderAssist called FocusParentSliderOnClick.
This AP hooks the PreviewMouseLeftButtonDownEvent of the RepeatButtons and focuses the parent Slider when the event is fired.
All of this should probably be kept internal.

Additionally I added a helper method TreeHelper.FindParent<T>(DependencyObject child).

MDIXSliderToolTip

@Keboo Keboo added this to the 5.2.0 milestone Nov 7, 2024
@Keboo Keboo added the release notes Items are likely to be highlighted in the release notes. label Nov 7, 2024
@Keboo Keboo enabled auto-merge (squash) November 7, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes Items are likely to be highlighted in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show slider value tooltip without having to click first

2 participants