|
|
@@ -50,6 +50,11 @@ namespace Avalonia
|
|
|
get;
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Gets a value indicating whether the binding has completed.
|
|
|
+ /// </summary>
|
|
|
+ public bool HasCompleted { get; private set; }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// The current value of the binding.
|
|
|
/// </summary>
|
|
|
@@ -129,6 +134,8 @@ namespace Avalonia
|
|
|
|
|
|
private void Completed()
|
|
|
{
|
|
|
+ HasCompleted = true;
|
|
|
+
|
|
|
if (Dispatcher.UIThread.CheckAccess())
|
|
|
{
|
|
|
_owner.Completed(this);
|