Blake.NUI.WPF.Gestures.EngineHandlerBase.CreateAndSetupGestureEngine C# (CSharp) Method

CreateAndSetupGestureEngine() protected method

Creates and setups event listeners for a new gesture engine.
protected CreateAndSetupGestureEngine ( System.Windows.Input.MouseDevice device ) : IGestureEngine
device System.Windows.Input.MouseDevice The touch device that caused started the potential gesture
return IGestureEngine
    protected IGestureEngine CreateAndSetupGestureEngine(MouseDevice device)
    {
      var engine = _engineCreator();
      engine.MouseDevice = device;
      engine.GestureAborted += engine_GestureAborted;
      engine.GestureCompleted += engine_GestureCompleted;
      engine.GestureStarted += engine_GestureStarted;
      return engine;
    }

Same methods

EngineHandlerBase::CreateAndSetupGestureEngine ( System.Windows.Input.TouchDevice device ) : IGestureEngine