private static System.Windows.Automation.ExpandCollapseState UiaExpandCollapseState(BaseProdControl control)
 {
     return(ExpandCollapseHelper.ExpandCollapseState(control.UIAElement));
 }