Skip to content

Instantly share code, notes, and snippets.

@cyberzed
Created February 22, 2012 13:14
Show Gist options
  • Select an option

  • Save cyberzed/1885138 to your computer and use it in GitHub Desktop.

Select an option

Save cyberzed/1885138 to your computer and use it in GitHub Desktop.
public class MyClass : NotificationObject
{
private string myProperty = string.Empty;
public string MyProperty
{
get{ return myProperty; }
set{
myProperty = value;
RaisePropertyChanged( ()=> MyProperty );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment