Поделиться через


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)

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Sub RaisePropertyChangedEvent ( _
    property As AutomationProperty, _
    oldValue As Object, _
    newValue As Object _
)
[SecuritySafeCriticalAttribute]
public void RaisePropertyChangedEvent(
    AutomationProperty property,
    Object oldValue,
    Object newValue
)

Parameters

  • oldValue
    Type: System.Object
    The previous value of the property.

Remarks

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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

Platforms

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