EnableOnObservablePropertyChangedMethod
Gets or sets a value indicating whether the OnObservablePropertyChanged
method should be introduced. The default value is true
.
Declaration
public bool? EnableOnObservablePropertyChangedMethod { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
The OnObservablePropertyChanged
method allows a derived class to efficiently add subscribe/unsubscribe functionality
to a base class property, where the base class itself does not need to observe changes to children of the property.
This only applies to properties where the property type implements INotifyPropertyChanged. The introduced
method allows the current target class to use the feature if provided by a base class, and allows the current target class
to provide the feature to derived classes for applicable properties.