在WPF + C#上为Windows 8创建Metro(Microsoft UI)应用程序,我在按钮上遇到了PointerPressed事件的困难.当我执行左键单击(通过鼠标)时不会发生事件,但是在右键单击或点击时会发生这种情况.那个事件有什么问题?例如
<Button x:Name="Somebutton" Width="100" Height="100"
PointerPressed="Somebutton_PointerPressed"/>
Run Code Online (Sandbox Code Playgroud)