Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Custom Control with Resource Dictionary (WPF)
Custom Control with Resource Dictionary (WPF)

Custom Control with Resource Dictionary (WPF)

Vitor Canova

|
4,398 installs
| (1) | Free
WPF Custom Control tempate that adds a ResourceDictionary and code file. When you add a simple CustomControl in WPF almost always you add a Resource Dictionary too. This templates add both files in the project and binds like ASP.NET does with aspx and aspx.cs
Download

Solution for boring things

In WPF development is a common thing you add aCustomControl and after add a Dictionary and "link" both with a common name like that:

MyCustomControl.cs

MyCustomControl.xaml.cs

Visual Studio will think that these two files aren't independents.

This is very good because avoid the need to view all the files and become very organized like ASP.NET does withaspx, aspx.cs and aspx.designer.cs files.

What about this item template?

This item template adds a CustomControl.xaml and aCustomControl.xaml.cs. After that creates the basic logic of a CustomControl in thexaml file. You can easily try to change from design to code and vice-versa with Visual Studio shortcuts and you don't need do create both files in a separate step.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft