示例#1
0
 public override void OnPointerReleased(IPointerReleasedEventArgs e)
 {
     if (e.CurrentPoint.Properties.PointerUpdateKind == PointerUpdateKind.LeftButtonReleased)
     {
         m_Dragging = false;
         e.Handled  = true;
     }
 }
示例#2
0
        public override void OnPointerReleased(IPointerReleasedEventArgs e)
        {
            IPointerPointProperties props = e.CurrentPoint.Properties;

            if (props.PointerUpdateKind == PointerUpdateKind.LeftButtonReleased)
            {
                HandleLeftButtonUp(e);
                m_Pointer  = null;
                m_Position = null;
            }
        }
示例#3
0
 public virtual void OnPointerReleased(IPointerReleasedEventArgs e)
 {
 }
示例#4
0
 public void OnPointerReleased(IPointerReleasedEventArgs e)
 {
     ApplyToInteractions(i => i.OnPointerReleased(e), e);
 }