/// <summary>
 /// Mark selected element
 /// </summary>
 public void MarkElement(A11yElement ele)
 {
     lock (_lockObject)
     {
         if (HollowHighlightDriver.GetDefaultInstance().IsEnabled)
         {
             var overlayDriver = ClearOverlayDriver.GetDefaultInstance();
             ClearOverlayDriver.BringMainWindowOfPOIElementToFront();
             overlayDriver.MarkElement(ele);
         }
     }
 }
        /// <summary>
        /// Sets element context and updates UI
        /// </summary>
        /// <param name="ec"></param>
        public void SetElement()
        {
            var ecId = SelectAction.GetDefaultInstance().SelectedElementContextId;

            if (ecId.HasValue)
            {
                ElementContext ec = GetDataAction.GetElementContext(ecId.Value);
                this.ElementContext = ec;
                var brush         = Application.Current.Resources["HLTextBrush"] as SolidColorBrush;
                var overlayDriver = ClearOverlayDriver.GetDefaultInstance();
                overlayDriver.SetElement(ElementContext.Element, brush, null, 0);
                if (this.IsVisible && HighlightVisibility)
                {
                    overlayDriver.Show();
                }
            }
        }