I built a WPF app in VS 2015 that includes a custom UserControl. Then I installed the MaterialDesignXAMLToolkit package (from nuget) and followed the instructions in
Getting Started · MaterialDesignInXAML/MaterialDesignInXamlToolkit Wiki · GitHub[
^] . As expected, the styling changed on many of the controls, but not everything is working as I think it should:
1) The setup instructions have me add these attributes to the MainWindow:
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
Background="{DynamicResource MaterialDesignPaper}"
Visual Studio complains that it can't find those Resources. It doesn't have trouble finding the Button Style resources I applied to my UserControl. Why can't it find these two?
2) The documentation seems to indicate that I should be able to reference theme colors to use in other
<Style>
elements, but I have not been able to figure out how.
3) I see from available videos that I should be able to add controls from the Toolkit into my ToolBox, but when I browse to the DLLs for that purpose, there are no importable controls there.
I haven't been able to find the right instruction to fill my knowledge gap on this. What am I missing?
Update:
None of these are blocking me, but I want to make sure I have everything set up correctly before I start customizing things.I found the answer to #2 in the Wiki.I cloned the source code and got the Demo working. (It's not as easy as implied in the docs.) That has helped my understanding.
I'm beginning to wonder if the cause of #1 is just that the document is out of date.
What I have tried:
I have double-checked my execution of the instructions in the Getting Started document.
I have confirmed the added DLLs are in the References.
I have watched 4 introductory videos on using the Toolkit.