PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changed­AttributePrevent­False­Positives
Open sandboxFocus

NotifyPropertyChangedAttribute.PreventFalsePositives Property


Determines whether the aspect should do additional efforts to prevent the PropertyChanged event from being raised when the value itself did not change. The default value of this property is false, which means that the aspect will raise the PropertyChanged event whenever any dependency of the property has changed, whether the property value has eventually changed or not. Setting this property to true consumes more memory and processing power because the aspect will need to evaluate the properties and store their value.

public bool PreventFalsePositives { get; set; }
Property Value
Type Description