Export (0) Print
Expand All
Expand Minimize

AutomationPeer.RaisePropertyChangedEvent Method

Raises an event to notify the automation client of a changed property value.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

[SecuritySafeCriticalAttribute]
public void RaisePropertyChangedEvent(
	AutomationProperty property,
	Object oldValue,
	Object newValue
)

Parameters

property
Type: System.Windows.Automation.AutomationProperty
The property that changed.
oldValue
Type: System.Object
The previous value of the property.
newValue
Type: System.Object
The new value of the property.

To get the automation property identifier to pass as property, use the static values from AutomationElementIdentifiers, or from classes that contain specific pattern automation property identifiers such as ScrollPatternIdentifiers.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft