当我使用该MouseUp
事件时,我可以通过鼠标右键单击来触发它。但MouseLeftButtonUp
不会触发任何一次点击!
<Button MouseLeftButtonUp="btnNewConfig_MouseUp" Name="btnNewConfig">
<StackPanel Orientation="Horizontal">
<Image Source="Icons\new.ico" Height="24" Width="24" Margin="5"/>
<TextBlock VerticalAlignment="Center">New</TextBlock>
</StackPanel>
</Button>
我知道这很可能很简单。谢谢您的帮助!