src/Misc/EFTools/XmlCore/UI/Views/Explorer/ExplorerFrame.cs
/// <summary>
///     If the Vertical ScrollBar visibility changed we need to fix up the Search Tick
///     adorners if a search is active.  Either the ScrollBar is becoming visible or being
///     hidden.  In either case reset (remove) the adorners.  If the scrollbar is becoming
///     visible then the adorners need to be repainted.
/// </summary>
If the Vertical ScrollBar visibility changed we need to fix up the Search Tick
adorners if a search is active.  Either the ScrollBar is becoming visible or being
hidden.  In either case reset (remove) the adorners.  If the scrollbar is becoming
visible then the adorners need to be repainted.
If the Vertical ScrollBar visibility changed we need to fix up the Search Tick adorners if a search is active . Either the ScrollBar is becoming visible or being hidden . In either case reset ( remove ) the adorners . If the scrollbar is becoming visible then the adorners need to be repainted .
private void VScrollBar_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            if (_context == null)
            {
                return;
            }
            if (_searchIsActive && !_searchExpansionInProgress)
            {
                ResetAdorners();
                if (GetVerticalScrollBar().Visibility == Visibility.Visible)
                {
                    WaitForExpansionThenProcessTreeView();
                }
            }
        }
private void VScrollBar_IsVisibleChanged ( object sender , DependencyPropertyChangedEventArgs e ) { if ( _context == null ) { return ; } if ( _searchIsActive && ! _searchExpansionInProgress ) { ResetAdorners ( ) ; if ( GetVerticalScrollBar ( ) . Visibility == Visibility . Visible ) { WaitForExpansionThenProcessTreeView ( ) ; } } }
If the Vertical ScrollBar visibility changed we need to fix up the Search Tick
adorners if a search is active.
If the Vertical ScrollBar visibility changed we need to fix up the Search Tick adorners if a search is active .
sender
object
e
DependencyPropertyChangedEventArgs