Browse Source

Raise base value changed event on coercion.

pull/8600/head
Steven Kirk 4 years ago
parent
commit
9bc18eff2e
  1. 3
      src/Avalonia.Base/PropertyStore/EffectiveValue`1.cs

3
src/Avalonia.Base/PropertyStore/EffectiveValue`1.cs

@ -243,7 +243,8 @@ namespace Avalonia.PropertyStore
if (property.Inherits) if (property.Inherits)
owner.OnInheritedEffectiveValueChanged(property, oldValue, this); owner.OnInheritedEffectiveValueChanged(property, oldValue, this);
} }
else if (baseValueChanged)
if (baseValueChanged)
{ {
owner.Owner.RaisePropertyChanged(property, default, _baseValue!, BasePriority, false); owner.Owner.RaisePropertyChanged(property, default, _baseValue!, BasePriority, false);
} }

Loading…
Cancel
Save