Skip to content

How to apply style from MaterialDesignInXamlToolkit to PersianCalendar #841

Answered by ghost1372
hussain1368 asked this question in Q&A
Discussion options

You must be logged in to vote

follow this instructure
Install HandyControls and MaterialDesignInXamlToolkit from nuget
Create a new ResourceDictionary called : MaterialPersianCalendar.xaml
add resources in app.xaml

<Application.Resources>
       <ResourceDictionary>
           <ResourceDictionary.MergedDictionaries>
               <hc:ThemeResources/>
               <hc:Theme/>
               <materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
               <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
   			<ResourceDictionary Source="/MaterialPersianCalendar.xaml"/>
           </Resourc…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ghost1372
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants