Bound UI Enabled
This commit is contained in:
parent
22f7143d6e
commit
4e4a59b0b2
3 changed files with 36 additions and 17 deletions
|
|
@ -50,9 +50,22 @@ namespace ImageCatalog_2
|
|||
}
|
||||
}
|
||||
|
||||
private bool _uiEnabled = true;
|
||||
|
||||
public bool UiEnabled
|
||||
{
|
||||
get { return _uiEnabled; }
|
||||
set
|
||||
{
|
||||
_uiEnabled = value;
|
||||
NotifyPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private void Test(object parameter)
|
||||
{
|
||||
Debug.WriteLine("Yep");
|
||||
this.UiEnabled = !this.UiEnabled;
|
||||
}
|
||||
|
||||
private async Task TestAsync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue