你好,
你需要使用 PreviewMouseLeftButtonDown 事件:
<InkCanvas EditingMode="Select" PreviewMouseLeftButtonDown="InkCanvas_PreviewMouseLeftButtonDown" />
private void InkCanvas_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
//Something
}
#UIElement.PreviewMouseLeftButtonDown Event
http://msdn.microsoft.com/en-us/library/system.windows.uielement.previewmouseleftbuttondown.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.