Why my Mouse Event Handlers are not working when I have Touch Event Handlers?
问题 Some of my end users have touch screens, and others have PCs. On touch screens, PreviewMouseUp/Down fire along with the touch event handlers, causing duplicate behavior (functions written in PreviewMousUp/Down get executed twice). So my sample Button XAML: <Button x:Name="Whatever" Background="Transparent" MouseUp="Whatever_MouseUp" MouseDown="Whatever_MouseDown" TouchUp="Whatever_TouchUp" TouchDown="Whatever_TouchDown"> <StackPanel> <TextBlock x:Name="WhateverText" Text="Soemthing" FontSize=