-
-
Save thomaslevesque/3713bed71a486d02858a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool _isTextBoxDisabled; | |
public bool IsTextBoxDisabled | |
{ | |
get { return _isTextBoxDisabled; } | |
set | |
{ | |
_isTextBoxDisabled = value; | |
OnPropertyChanged("IsTextBoxDisabled"); | |
OnPropertyChanged("IsTextBoxEnabled"); | |
} | |
} | |
public bool IsTextBoxEnabled | |
{ | |
get { return !IsTextBoxDisabled; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment