Click here to Skip to main content
15,886,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone, I have this problem for fewdays and im really tired of it, it can be great if you help me out.
I have Caliburn.Micro project. and i have View and ModelView Folder and in my View folder i have a resource Dictionary called MyButton starts with <ResourceDictionary> and then i create <Style x:Key="CircleButton" TargetType="Button">.... then i cant bind it in my MainView.Xaml i tried to bind like <button Style={StaticResource CircleButton}.../> and also i tried

<UserControl.Resources>
<ResourceDictionary Source="MyButton.xaml"/>
</UserControl.Resources>
or
with MergDictionary but it doesnt work, am i missing something ? i can be great if someone give me some sample Codes thank you.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900