C# 클래스 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.
상속: System.Windows.Automation.PropertyCondition
파일 보기 프로젝트 열기: vijayakumarsuraj/UIAutomation 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

IsMatch() 공개 메소드

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.
리턴 bool

StringPropertyCondition() 공개 메소드

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.
리턴 System.Windows.Automation

StringPropertyCondition() 공개 메소드

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.
리턴 System.Windows.Automation