protected override void Dispose(bool disposing) { if (this.EventHandler != null) { this.EventHandler.Dispose(); this.EventHandler = null; } base.Dispose(disposing); }
/// <summary> /// Constructor /// </summary> /// <param name="action"></param> public FocusTracker(Action <A11yElement> action) : base(action) { this.EventHandler = new EventListenerFactory(null); // listen for all element. it works only for FocusChangedEvent }