Browse Source

Remove unneeded method.

pull/10189/head
Steven Kirk 4 years ago
parent
commit
467ef300bf
  1. 17
      src/Avalonia.Base/PropertyStore/ValueStore.cs

17
src/Avalonia.Base/PropertyStore/ValueStore.cs

@ -380,23 +380,6 @@ namespace Avalonia.PropertyStore
}
}
/// <summary>
/// Called by non-LocalValue binding entries to re-evaluate the effective value when the
/// binding produces an unset value.
/// </summary>
/// <param name="property">The bound property.</param>
/// <param name="priority">The priority of binding which produced a new value.</param>
public void OnBindingValueCleared(AvaloniaProperty property, BindingPriority priority)
{
Debug.Assert(priority != BindingPriority.LocalValue);
if (TryGetEffectiveValue(property, out var existing))
{
if (priority <= existing.Priority)
ReevaluateEffectiveValue(property, existing);
}
}
/// <summary>
/// Called by a <see cref="ValueFrame"/> when its <see cref="ValueFrame.IsActive"/>
/// state changes.

Loading…
Cancel
Save