Hello all.
I know, it´s sure a silly question, but i can´t find a solution.
1.)
I have an external class to manage the styles for all controls.
This interface has the "INotifyPropertyChanged" implemented.
In the ComboBox, I now choose a different Theme, but my controls do not change their appearance.
In the resources of xaml I have:
In the Controls:
2.)
I set the Itemssource of my RadGridView in the code.
"datagrid.ItemsSource = KonaktList1;"
How can i set it into XAML?
see code: in MainWindow.xaml.cs
At the appendix is attached to a dummy project, so you see what I mean.
many greetings
Reinhard
I know, it´s sure a silly question, but i can´t find a solution.
1.)
I have an external class to manage the styles for all controls.
This interface has the "INotifyPropertyChanged" implemented.
In the ComboBox, I now choose a different Theme, but my controls do not change their appearance.
xmlns: Controls3 = "clr-namespace: Telerik.Windows.Controls; assembly = Telerik.Windows.Controls"
In the resources of xaml I have:
<
myThemen:MyTheme
x:Key
=
"tehmen"
/>
In the Controls:
Controls3:StyleManager.Theme="{Binding Source={StaticResource tehmen}, Path=MyThema, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
2.)
I set the Itemssource of my RadGridView in the code.
"datagrid.ItemsSource = KonaktList1;"
How can i set it into XAML?
see code: in MainWindow.xaml.cs
At the appendix is attached to a dummy project, so you see what I mean.
many greetings
Reinhard