Skip to content

Commit

Permalink
finished KeyVisibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas09 committed Feb 18, 2018
1 parent 9810bc6 commit 36b7b57
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ public class ChannelPageViewModel : ValidationBase, INotifyPropertyChanged
public ICommand ValidateMessageCommand { protected set; get; }
public ICommand ShowKeyCommand { protected set; get; }
public Page KeyPage { get; set; }
public bool KeyVisibility { get; set; }
private bool _keyVisibility = true;

public bool KeyVisibility
{
get => _keyVisibility;
set
{
if (_keyVisibility == value) return;
_keyVisibility = value;
OnPropertyChanged("KeyVisibility");
}
}

public string Title
{
Expand Down

0 comments on commit 36b7b57

Please sign in to comment.