Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PropertyCondition Class

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationClient.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a Condition that tests whether a property has a specified value.

public ref class PropertyCondition : System::Windows::Automation::Condition
public class PropertyCondition : System.Windows.Automation.Condition
type PropertyCondition = class
 inherit Condition
Public Class PropertyCondition
Inherits Condition
Inheritance
PropertyCondition

Constructors

Name Description
PropertyCondition(AutomationProperty, Object, PropertyConditionFlags)

Initializes a new instance of the PropertyCondition class, with flags.

PropertyCondition(AutomationProperty, Object)

Initializes a new instance of the PropertyCondition class.

Properties

Name Description
Flags

Gets the flags used for testing the property value.

Property

Gets the property that this condition is testing.

Value

Gets the property value that this condition is testing.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also


Feedback

Was this page helpful?