private string firstname; public string FirstName { get {return firstname;} set { if ( value != firstname) { firstname = value; } OnPropertyChanged("FirstName"); } }
private Person p; public string Id { get {return p.Id;} set { if (value != p.Id) { p.ID = value; } OnPropertyChanged("Id"); } } public string FirstName { get {return p.FirstName;} } protected void GetFirstName() { Id = "PR001"; OnPropertyChanged("FirstName"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)