Browse Source

Update buttons of ButtonSpinner on ValidSpinDirections changes

pull/1457/head
dzhelnin 8 years ago
parent
commit
a3cdb6c1ed
  1. 5
      src/Avalonia.Controls/ButtonSpinner.cs

5
src/Avalonia.Controls/ButtonSpinner.cs

@ -201,6 +201,11 @@ namespace Avalonia.Controls
}
}
protected override void OnValidSpinDirectionChanged(ValidSpinDirections oldValue, ValidSpinDirections newValue)
{
SetButtonUsage();
}
/// <summary>
/// Called when the <see cref="AllowSpin"/> property value changed.
/// </summary>

Loading…
Cancel
Save