SignalPropertyChanged(object, string)
Signals the PropertyChanged event of an object that is instrumented with the NotifyPropertyChangedAttribute aspect.
Declaration
public static void SignalPropertyChanged(object instance, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
object | instance | An instance of a class instrumented with the NotifyPropertyChangedAttribute aspect |
string | propertyName | Name of the changed property. |
Remarks
This methods invokes the OnPropertyChanged
method on the instance
object. If the method has been defined in user code, it will be invoked.
The event is buffered and will actually be raised when the current thread exits the scope of the instance parameter. This methods invokes the OnPropertyChanged
method synchronously.