Skip to content

Is Card style missing from MaterialDesignTheme.Defaults? #2876

Closed Answered by nicolaihenriksen
jbooth88 asked this question in Q&A
Discussion options

You must be logged in to vote

@jbooth88 I believe that MaterialDesignTheme.Defaults.xml (and the others) do not include the MDIX "custom controls". They only include the overridden styles for the controls available in the BCL (e.g. Button, ComboBox, etc.).

For custom controls (e.g. Card, RatingBar, etc.), it is a common practice to place their default style in the (somewhat "magic") Themes\Generic.xaml file. They are however, as @Xaalek mentions, still available to be used.

<!--
we only bring in the dictionaries for controls which were "invented"
as part of Material Design in XAML Toolkit. Other t…

Replies: 1 comment 2 replies

Comment options

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

@nicolaihenriksen
Comment options

Answer selected by Keboo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants