private Color GetOverlayColor(VirtualPathBreadcrumb breadcrumb)
 {
     Color empty = Color.Empty;
     if (breadcrumb.View == BreadcrumbView.EnterPath)
     {
         return SystemColors.Window;
     }
     if (breadcrumb.IsHighlighted)
     {
         return Color.FromArgb(160, SystemColors.Window);
     }
     if ((breadcrumb.PathOptions & PathView.ShowActiveState) <= PathView.ShowNormalRootName)
     {
         return empty;
     }
     if (breadcrumb.Active)
     {
         return Theme.Current.ThemeColors.ActiveBreadcrumbBackground;
     }
     return Theme.Current.ThemeColors.InactiveBreadcrumbBackground;
 }
 private Color GetBorderColor(VirtualPathBreadcrumb breadcrumb)
 {
     Color empty = Color.Empty;
     if ((breadcrumb.PathOptions & PathView.ShowActiveState) > PathView.ShowNormalRootName)
     {
         if (breadcrumb.Active)
         {
             empty = Theme.Current.ThemeColors.ActiveBreadcrumbBorder;
         }
         else
         {
             empty = Theme.Current.ThemeColors.InactiveBreadcrumbBorder;
         }
     }
     if (empty.IsEmpty)
     {
         ToolStripProfessionalRenderer rootRenderer = base.RootRenderer as ToolStripProfessionalRenderer;
         empty = (rootRenderer != null) ? rootRenderer.ColorTable.MenuBorder : PanelEx.DefaultBorderColor;
     }
     return empty;
 }