Created
November 12, 2015 05:04
-
-
Save adamped/98ef5bee0d5f5df0fc74 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<Button Command="{Binding LoginCommand}" Text="Login" /> | |
private RelayCommand _loginCommand; | |
public RelayCommand LoginCommand | |
{ | |
get | |
{ | |
return _loginCommand | |
?? (_loginCommand = new RelayCommand( | |
async () => | |
{ | |
// ... Do something here ... | |
})); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment