ClickMode for TabItem or TabControl
Posted: 24 Jun 2022, 14:45
Hey,
I want to change the ClickMode for all our TabControls from press to release where it triggers the SelectionChanged event, so it matches the behavior with all our other elements. Perhaps this can be done through supporting ClickMode in either TabItem or TabControl. I know this is not a thing in WPF and I can't find good solutions to do it otherwise. The only way I currently see it done, is to manually implement this for every TabControl and thats not very scaleable.
So my question is, can support for this be added through the use of ClickMode or any other means? Or perhaps there is currently a better way to solve this?
I want to change the ClickMode for all our TabControls from press to release where it triggers the SelectionChanged event, so it matches the behavior with all our other elements. Perhaps this can be done through supporting ClickMode in either TabItem or TabControl. I know this is not a thing in WPF and I can't find good solutions to do it otherwise. The only way I currently see it done, is to manually implement this for every TabControl and thats not very scaleable.
So my question is, can support for this be added through the use of ClickMode or any other means? Or perhaps there is currently a better way to solve this?