AutomationPeer.RaisePropertyChangedEvent Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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 Sub RaisePropertyChangedEvent ( _
    property As AutomationProperty, _
    oldValue As Object, _
    newValue As Object _
public void RaisePropertyChangedEvent(
    AutomationProperty property,
    Object oldValue,
    Object newValue


  • oldValue
    Type: System.Object
    The previous 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.

Version Information


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.