Class NotificationObject
Base class for items that support property notification.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public abstract class NotificationObject : 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