public void RemoveGroupBarOverFlowButton()
 {
     foreach (ToggleButton item in VisualUtils.EnumChildrenOfType(groupBar, typeof(ToggleButton)))
     {
         if (item.Name == "PART_OverFlowButton")
         {
             item.Visibility = Visibility.Collapsed;
         }
     }
 }
 private void ItemContainerGenerator_StatusChanged(object sender, EventArgs e)
 {
     foreach (PropertyCatagoryViewItem item in VisualUtils.EnumChildrenOfType(this, typeof(PropertyCatagoryViewItem)))
     {
         foreach (var items in item.Items)
         {
             foreach (PropertyViewItem propertyViewItem in VisualUtils.EnumChildrenOfType(this, typeof(PropertyViewItem)))
             {
                 var button = (ToggleButton)propertyViewItem.Template.FindName("ToggleButton", propertyViewItem);
                 if (button.Visibility == System.Windows.Visibility.Visible && !button.IsMouseOver)
                 {
                     button.IsChecked = true;
                 }
             }
         }
     }
 }