PropertyCondition Constructor (AutomationProperty, Object)
Initializes a new instance of the PropertyCondition class.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
In the following example, a PropertyCondition specifies that the UI Automation element to be found has a control type of List. The PropertyCondition is then used to obtain the list element from a combo box.