Created
March 15, 2017 08:01
-
-
Save peyangu/c9939b9470cd5c16acc84867ad35bdd2 to your computer and use it in GitHub Desktop.
NotifyPropertyChangedに文字列の引数
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 string name_; | |
/// <summary> | |
/// 名前 | |
/// </summary> | |
public string Name | |
{ | |
get { return name_; } | |
set | |
{ | |
if (name_!= value) | |
{ | |
name_= value; | |
NotifyPropertyChanged("Name"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment