|
|
|
@ -7,6 +7,7 @@ using System.Threading.Tasks; |
|
|
|
using System.Threading; |
|
|
|
using ReactiveUI; |
|
|
|
using Avalonia.Controls; |
|
|
|
using Avalonia.Metadata; |
|
|
|
|
|
|
|
namespace BindingDemo.ViewModels |
|
|
|
{ |
|
|
|
@ -102,5 +103,16 @@ namespace BindingDemo.ViewModels |
|
|
|
get { return _nested; } |
|
|
|
private set { this.RaiseAndSetIfChanged(ref _nested, value); } |
|
|
|
} |
|
|
|
|
|
|
|
public void Do(object parameter) |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
[DependsOn(nameof(BooleanFlag))] |
|
|
|
bool CanDo(object parameter) |
|
|
|
{ |
|
|
|
return BooleanFlag; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|