Example #1
0
 public static void CollapseComboBox(this AutomationElement el)
 {
     if (!el.TryCollapse())
     {
         el.DoAction();
     }
 }
Example #2
0
 public static void ExpandComboBox(this AutomationElement el)
 {
     if (!el.TryExpand())
     {
         el.DoAction();
     }
 }