public SharpDXContext() : base() { this.manipulationHandler = new DrawingSurfaceManipulationHandler(); }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (this.manipulationHandler != null) { this.manipulationHandler.ManipulationHostChanged -= OnManipulationHostChanged; this.manipulationHandler = null; } } }