You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to pull in a few Material controls, but I'm not ready to let MDIX drive the entire application. While the below approach works for a CheckBox or RadioButton it fails on ComboBox.
ERROR:Exception: Cannot find resource named 'MaterialDesignThemes.Wpf.ComboBoxPopup.
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledThemeBaseTheme="Light"PrimaryColor="DeepPurple"SecondaryColor="Lime" />
<ResourceDictionarySource="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ComboBox.xaml" />
<!-- WORKAROUND: Import this as well, problem goes away <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToolBar.xaml" />-->
</ResourceDictionary.MergedDictionaries>
<StyleTargetType="{x:Type ComboBox}"BasedOn="{StaticResource MaterialDesignComboBox}" />
</ResourceDictionary>
</Application.Resources>
Version
4.7.1
The text was updated successfully, but these errors were encountered:
Bug explanation
I want to pull in a few Material controls, but I'm not ready to let MDIX drive the entire application. While the below approach works for a
CheckBox
orRadioButton
it fails onComboBox
.ERROR:
Exception: Cannot find resource named 'MaterialDesignThemes.Wpf.ComboBoxPopup
.Version
4.7.1
The text was updated successfully, but these errors were encountered: