White has very convenient class SearchCriteria which much more simpler and shorter vs UIA Condition. But does White has a way to convert SearchCriteria to UIA's condition?
// <--> how to switch between them?
Condition condition = new AndCondition(
new PropertyCondition(AutomationElement.ControlTypeProperty, ControlType.Window),
new PropertyCondition(AutomationElement.AutomationIdProperty, "131")