-
Shortcut
-
propNotify
-
Description
-
Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field
-
Language
-
csharp
-
Types
-
Expansion
-
Author
-
Fons Sonnemans
-
Upload on
-
12-11-2013 18:52:27
-
Downloads
-
2868
ID
|
ToolTip
|
Default
|
type
|
Property type
|
int
|
property
|
Property name
|
MyProperty
|
field
|
The variable backing this property
|
myVar
|
private $type$ $field$;
public $type$ $property$
{
get { return $field$;}
set {
if ($field$ != value) {
$field$ = value;
OnPropertyChanged("$property$");
}
}
}
$end$