internal virtual bool ProcessTouchUp(TouchEventArgs e) { if (!canRaiseEvents || !IntersectTest(e.Location)) return false; if (!IsClicked && isEnabled) { OnTouchUp(e); if (isFocusable && !IsFocused) OnGotFocus(EventArgs.Empty); } return true; }
protected virtual void OnTouchUp(TouchEventArgs e) { EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)Events[EventTouchUp]; if (handler != null) handler(this, e); }
internal virtual bool ProcessTouchMove(TouchEventArgs e) { if (!HasCaptured && !IntersectTest(e.Location)) return false; if (canRaiseEvents) { //if (!isInside) //OnMouseEnter(e); OnTouchMove(e); return true; } return false; }