Is Card style missing from MaterialDesignTheme.Defaults? #2876
-
Two questions: Is this intended? If so, are there any other styles defined in MaterialDesignThemes.Wpf that follow this rule? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
MaterialDesign3 is still in dev so it's not recommended to use it yet. All styles from the demo app come from So you should be able to use the Card style. |
Beta Was this translation helpful? Give feedback.
@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.MaterialDesignInXamlToolkit/MaterialDesignThemes.Wpf/Themes/Generic.xaml
Lines 11 to 31 in f7d9a42