Donate

Add Reference To WPF Merged Resource Dictionary In Window.xaml

Good evening guys!
Here's how to add reference to WPF Merged Dictionary in Window.xaml.
<Window.Resources>  
   <ResourceDictionary>  
     <ResourceDictionary.MergedDictionaries>  
      <!--resource dictionary is placed in folder-->  
      <ResourceDictionary Source="/ResourceDictionaries/RoundedButton.xaml" />   
      <!--dictionary is inside WPF project-->  
      <!--<ResourceDictionary Source="RoundedButton.xaml" /> -->   
     </ResourceDictionary.MergedDictionaries>  
   </ResourceDictionary>      
</Window.Resources>  

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.

Invalid nested tag div found, expected closing tag input