private static void DecideOnAdornerVisibility(DependencyObject d, AdornerVisibilityInState adornerVisibilityInState) { if (GetAdornerVisibility(d) == Visibility.Visible) { var adorner = BuildAdorner(d); if (adorner.ShowAdorner(adornerVisibilityInState)) { ShowAdorner((FrameworkElement)d, adorner); return; } } RemoveAdorner((FrameworkElement)d); }
public override bool ShowAdorner(AdornerVisibilityInState adornerVisibilityInState) { return(true); }
public virtual bool ShowAdorner(AdornerVisibilityInState adornerVisibilityInState) { return true; }
public override bool ShowAdorner(AdornerVisibilityInState adornerVisibilityInState) { return true; }
public virtual bool ShowAdorner(AdornerVisibilityInState adornerVisibilityInState) { return(true); }
private static void DecideOnAdornerVisibility(DependencyObject d, AdornerVisibilityInState adornerVisibilityInState) { if (GetAdornerVisibility(d) == Visibility.Visible) { var adorner = BuildAdorner(d); if (adorner.ShowAdorner(adornerVisibilityInState)) { ShowAdorner((FrameworkElement)d, adorner); return; } } RemoveAdorner((FrameworkElement)d); }