public virtual void HandleStartPointerSequence(PointerEventInfo info) { if (_parent != null) { _parent.HandleStartPointerSequence(info); } }
public void TargetMouseDown(object sender, MouseEventArgs e) { PointerEventType type = GetPointerType(e.Button); if (_responder == null || type == PointerEventType.None) { return; } Point position = TranslatePosition(e.Location); PointerEventInfo info = new PointerEventInfo(type, position.X, position.Y); // Ignore event if a sequence is active if (_sequenceOpen.Count(kv => { return(kv.Value); }) == 0) { _sequenceOpen[info.Type] = true; _responder.HandleStartPointerSequence(info); } }