propNotifySetProperty


Snippet Details

Shortcut
propNotifySetProperty
Description
Code snippet for property with SetProperty() from most MVVM toolkits
Language
csharp
Types
Expansion
Author
Reflection IT
Upload on
9-1-2022 12:11:59
Downloads
233

Declarations

ID ToolTip Default
type Property type int
property Property name MyProperty
field The variable backing this property myVar

Code Output

        private $type$ $field$;

	public $type$ $property$ {
		get => $field$;
		set => SetProperty(ref $field$, value);
	}
	$end$
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages