-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
bugevaluation requiredItems is pending review or evaluation by the teamItems is pending review or evaluation by the team
Description
Bug explanation
`
<!--#region Resource-->
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme
BaseTheme="Light"
PrimaryColor="DeepPurple"
SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<!--#endregion-->
<DockPanel>
<StackPanel>
<Button
Width="100"
Height="50"
Content="Hi"
Style="{StaticResource MaterialDesignPaperSecondaryLightButton}" />
<ComboBox
Width="200"
Margin="10"
Style="{StaticResource MaterialDesignOutlinedComboBox}">
<materialDesign:HintAssist.Hint>
<StackPanel Orientation="Horizontal">
<fa:ImageAwesome
Width="15"
Height="15"
Foreground="LightGray"
Icon="Search" />
<TextBlock Margin="6,0,0,0" Text="Category..." />
</StackPanel>
</materialDesign:HintAssist.Hint>
<ComboBoxItem Content="Option 1" />
<ComboBoxItem Content="Option 2" />
<ComboBoxItem Content="Option 3" />
</ComboBox>
</StackPanel>
</DockPanel>
`
with this code I got the message "System.Exception: Set property 'System.Windows.ResourceDictionary.Source' threw an exception," I am developing in Revit Api 2023
Version
5.2.1
Metadata
Metadata
Assignees
Labels
bugevaluation requiredItems is pending review or evaluation by the teamItems is pending review or evaluation by the team