Skip to content

niklashempel/WpfSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wpf Snippets

Release Marketplace

WPF Snippets is an extensions for Visual Studio 2022. It provides snippets that may be used in a WPF application.

Links

Download: Visual Studio Marketplace
Code, Issues: GitHub

Features

The following snippets are added:

  • base: BaseViewModel class with implemented INotifyPropertyChanged interface base snippet
  • propn: Property with a backing field. When the property setter gets called, the OnPropertyChanged method is called too. propn snippet
  • relay: RelayCommand and AsyncCommand classes for synchronous/asynchronous command calls
  • cmd: RelayCommand that calls a method when invoked. No extra instantiation needed within the constrcutor. cmd snippet
  • cmdo: RelayCommand where a parameter can be passed. In XAML this is done via "CommandParameter=xxx" cmdo snippet
  • acmd: Async command that calls an async method when invoked. acmd snippet
  • acmdo: Async command where a parameter can be passed. acmdo snippet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published