protected virtual void OnHostGesture(HostGestureEventArgs e) { EventHandler <HostGestureEventArgs> handler = HostGesture; if (handler != null) { handler(this, e); } }
protected void RaiseOnHostGesture(InterceptedEventArgs e) { if (HostGesture != null) { var args = new HostGestureEventArgs(e.Continuation, e.Step, e.Packet); OnHostGesture(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnHostGesture(HostGestureEventArgs e) { EventHandler<HostGestureEventArgs> handler = HostGesture; if (handler != null) handler(this, e); }
protected void RaiseOnHostGesture(InterceptedEventArgs e) { if (HostGesture != null) { var args = new HostGestureEventArgs(e.Continuation, e.Step, e.Packet); OnHostGesture(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }