C# Class Automation.UI.Tree.StringPropertyCondition

A special property condition that can partially match string properties. Matching is done using string functions like StartsWith, EndsWith and Contains. This also supports matching properties using regular expressions.
Inheritance: System.Windows.Automation.PropertyCondition
Afficher le fichier Open project: vijayakumarsuraj/UIAutomation Class Usage Examples

Méthodes publiques

Méthode Description
IsMatch ( AutomationElement element ) : bool

Check if the specified automation element meets this condition's requirements.

StringPropertyCondition ( AutomationProperty property, string value ) : System.Windows.Automation

New string property condition.

StringPropertyCondition ( AutomationProperty property, string value, Matcher matcher ) : System.Windows.Automation

New string property condition.

Method Details

IsMatch() public méthode

Check if the specified automation element meets this condition's requirements.
public IsMatch ( AutomationElement element ) : bool
element System.Windows.Automation.AutomationElement The element to check.
Résultat bool

StringPropertyCondition() public méthode

New string property condition.
public StringPropertyCondition ( AutomationProperty property, string value ) : System.Windows.Automation
property System.Windows.Automation.AutomationProperty The property to check.
value string The expected string value.
Résultat System.Windows.Automation

StringPropertyCondition() public méthode

New string property condition.
public StringPropertyCondition ( AutomationProperty property, string value, Matcher matcher ) : System.Windows.Automation
property System.Windows.Automation.AutomationProperty The property to check.
value string The expected string value.
matcher Matcher The matcher to use for the comparison.
Résultat System.Windows.Automation