Accordion won't access theme
-
hello, i have trouble with the wpf toolkit accordion control. i have a UserControl which creates a dynamic nested accordion control (3 levels). when the 3rd level accordionItem is clicked a new usercontrol, also a accordion but in XAML, will be added to the content of the 3rd level accordionItem. both usercontrols have a link to a ResourceDictionray (Theme) like this:
xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit">
<Grid Name="MainGrid">
<Grid.Resources>
<ResourceDictionary Source="../View/Themes/CustomAccordion.xaml"></ResourceDictionary>
</Grid.Resources>
</Grid>the problem is, that the XAML accordion display my theme configuration but the dynamic created accordion won't display the same theme. does anybody know why? thanks for any help
-
hello, i have trouble with the wpf toolkit accordion control. i have a UserControl which creates a dynamic nested accordion control (3 levels). when the 3rd level accordionItem is clicked a new usercontrol, also a accordion but in XAML, will be added to the content of the 3rd level accordionItem. both usercontrols have a link to a ResourceDictionray (Theme) like this:
xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit">
<Grid Name="MainGrid">
<Grid.Resources>
<ResourceDictionary Source="../View/Themes/CustomAccordion.xaml"></ResourceDictionary>
</Grid.Resources>
</Grid>the problem is, that the XAML accordion display my theme configuration but the dynamic created accordion won't display the same theme. does anybody know why? thanks for any help