예제 #1
0
 protected virtual void OnPointDown(InputPointsEventArgs args)
 {
     if (SourceDevice != Devices.None && SourceDevice != args.PointSource && args.PointSource != Devices.Pen)
     {
         return;
     }
     SourceDevice = args.PointSource;
     PointDown?.Invoke(this, args);
 }
 private void OnPointClick(PointerEventData eventData)
 {
     PointDown?.Invoke(this);
 }