Skip to content

Custom Button Windows #4034

Answered by timunie
ghost asked this question in Q&A
Feb 1, 2021 · 3 comments · 10 replies
Discussion options

You must be logged in to vote

Hi @fabiociaf

The issue is that you do not import all the needed styles.

in your App.xaml you need to add these to MergedDictionaries:

<!--  MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive!  -->
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<!--  Theme setting  -->
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />

See: https://mahapps.com/docs/guides/quick-start

And here is the result:

If you don't want to have MahApps-Style then please read: #…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@ghost
Comment options

@timunie
Comment options

@ghost
Comment options

@timunie
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Comment options

You must be logged in to vote
2 replies
@timunie
Comment options

@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant