In WPF TabControl, the default behavior is to change the selected tab with the mouse down.
In my application, changing the tab sometimes changes size, and from time to time the mouse up event will be raised in another user control as the tabcontrol move has been moved.
If I can set the tab pages to switch only to the mouse, not the mouse, this would solve the problem.
source
share