Partager via


UITestAction.PropertyChanged Event

Occurs when a property value changes.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Event PropertyChanged As PropertyChangedEventHandler
public event PropertyChangedEventHandler PropertyChanged
public:
virtual   event PropertyChangedEventHandler^ PropertyChanged {
    void add (PropertyChangedEventHandler^ value);
    void remove (PropertyChangedEventHandler^ value);
}
abstract PropertyChanged : IEvent<PropertyChangedEventHandler,
    PropertyChangedEventArgs>
override PropertyChanged : IEvent<PropertyChangedEventHandler,
    PropertyChangedEventArgs>
JScript does not support events.

Implements

INotifyPropertyChanged.PropertyChanged

Remarks

To raise this event, the set procedure of a property should call the NotifyPropertyChanged method. Not all properties cause this event to be raised when their value is changed.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

NotifyPropertyChanged