Skip to content

WPF Tips

Marc Rousavy edited this page Aug 23, 2018 · 3 revisions

πŸ’‘

A small collection of useful tips for WPF

  • VSIX πŸ“– - Use the Jellyfish Visual Studio Extension for MVVM Project/UserControl/Window templates
  • Snippets πŸ“– - Use a code snippet for creating ObservableObject/ViewModel properties using the Set() function
  • Enums πŸ“– - Use the enum binding source extension for binding an ItemSource to an enum
  • Data Templates πŸ“– - Create Data Templates to automatically bind Views to ViewModels
  • d:DesignInstance 🌐 - Use a design-time ViewModel either by setting d:DesignInstance to your class (or a subclass with a default constructor only for design time), or by setting d:IsDesignTimeCreatable to false to let WPF create an instance for you
  • PropertyChangedAnalyzers :octocat: - Use a Property Changed Analyzer extension for automatically detecting missing Set() invokations and more
Clone this wiki locally