Class NotificationObject
Base class for items that support property notification.
Inheritance
System.Object
NotificationObject
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public abstract class NotificationObject : Object, INotifyPropertyChanged
Remarks
This class provides basic support for implementing the System.ComponentModel.INotifyPropertyChanged interface and for marshalling execution to the UI thread.
Constructors
NotificationObject()
Declaration
protected NotificationObject()
Methods
RaisePropertyChanged(String)
Raises this object's PropertyChanged event.
Declaration
protected virtual void RaisePropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property that has a new value. |
RaisePropertyChanged(String[])
Raises this object's PropertyChanged event for each of the properties.
Declaration
protected void RaisePropertyChanged(params string[] propertyNames)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | propertyNames | The properties that have a new value. |
RaisePropertyChanged<T>(Expression<Func<T>>)
Raises this object's PropertyChanged event.
Declaration
protected void RaisePropertyChanged<T>(Expression<Func<T>> propertyExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<T>> | propertyExpression | A Lambda expression representing the property that has a new value. |
Type Parameters
Name | Description |
---|---|
T | The type of the property that has a new value |
Events
PropertyChanged
Raised when a property on this object has a new value.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged