Class NotifyPropertyChangedExtensions
Extension method for INotifyPropertyChanged.
Inheritance
NotifyPropertyChangedExtensions
Assembly: Sartorius.SAF.dll
Syntax
public static class NotifyPropertyChangedExtensions
Methods
View Source
GetPropertyName<T>(INotifyPropertyChanged, Expression<Func<T>>)
Gets the name of the given property.
Declaration
[SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "Breaking changes.")]
public static string GetPropertyName<T>(this INotifyPropertyChanged instance, Expression<Func<T>> property)
Parameters
Returns
| Type |
Description |
| string |
The property name.
|
Type Parameters
| Name |
Description |
| T |
The property type.
|
View Source
RaisePropertyChanged(INotifyPropertyChanged, string)
Declaration
public static void RaisePropertyChanged(this INotifyPropertyChanged instance, string property)
Parameters
View Source
RaisePropertyChanged<T>(INotifyPropertyChanged, Expression<Func<T>>)
Declaration
public static void RaisePropertyChanged<T>(this INotifyPropertyChanged instance, Expression<Func<T>> propertyExpression)
Parameters
Type Parameters