C# Class Automation.UI.Tree.QueryParts.QueryConditionPart

Represents the conditions part of a query.
Inheritance: QueryPart
Mostra file Open project: vijayakumarsuraj/UIAutomation Class Usage Examples

Private Properties

Property Type Description
ApplyCondition void
ApplyUnaryOperator System.Windows.Automation.Condition
JoinWithBinaryOperator System.Windows.Automation.Condition
QueryConditionPart System.Windows.Automation
SetBinaryOperator void
SetUnaryOperator void

Public Methods

Method Description
Id ( ) : QueryMatcherPart

Search using the automation id property.

Name ( ) : QueryMatcherPart

Search using the name property.

Not ( ) : QueryConditionPart

Sets the active unary operator to a logical "not".

ProcessId ( ) : QueryMatcherPart

Search using the process id property.

Property ( AutomationProperty property ) : QueryMatcherPart

Search using an arbitrary property.

Type ( ) : QueryMatcherPart

Search using the name property.

Private Methods

Method Description
ApplyCondition ( Condition condition ) : void

Applies the specified property condition to this query.

ApplyUnaryOperator ( Condition condition ) : Condition

Applies the active unary operator to the specified condition.

JoinWithBinaryOperator ( Condition left, Condition right ) : Condition

Applies the active binary operator to the specified conditions.

QueryConditionPart ( Query query ) : System.Windows.Automation

New query condition part.

SetBinaryOperator ( IBinaryOperator op ) : void

Updates the active binary operator.

SetUnaryOperator ( IUnaryOperator op ) : void

Updates the active unary operator.

Method Details

Id() public method

Search using the automation id property.
public Id ( ) : QueryMatcherPart
return QueryMatcherPart

Name() public method

Search using the name property.
public Name ( ) : QueryMatcherPart
return QueryMatcherPart

Not() public method

Sets the active unary operator to a logical "not".
public Not ( ) : QueryConditionPart
return QueryConditionPart

ProcessId() public method

Search using the process id property.
public ProcessId ( ) : QueryMatcherPart
return QueryMatcherPart

Property() public method

Search using an arbitrary property.
public Property ( AutomationProperty property ) : QueryMatcherPart
property System.Windows.Automation.AutomationProperty The property to match.
return QueryMatcherPart

Type() public method

Search using the name property.
public Type ( ) : QueryMatcherPart
return QueryMatcherPart