W
W
WayMax2018-04-10 16:05:57
WPF
WayMax, 2018-04-10 16:05:57

How to style individual elements from MahApps.Metro in a WPF project?

How to apply the style of a single element (ex: ToggleButton) from MahApps.Metro without installing the whole nuget package?
I tried to connect the xaml file to the project and copy the contents of https://github.com/MahApps/MahApps.Metro/blob/deve... to the project's App.xaml. The studio swears at a bunch of places, in particular at "Controls:ContentControlEx".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
danilstepa, 2018-04-10
@danilstepa

So your Controls refers to the library, here you can either add the library by hand if you don’t want to install via nuget or rewrite this piece of code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question