Bewerken

Share via


PropertyCondition Class

Definition

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

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

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

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