This question is locked. New answers and comments are not allowed.
Hi,
in my app there are multiple charts and I want all of them to have the same PaletteBrushes.
I tried to move the Brush-Collection to a resource in my App.xaml but could not find out how:
Something like this:
App.xaml:
But this throws exception:
"Attachable property PalleteBrushes not found in type 'RadChart' "
Is there a way to do this?
Thanks
Lukas
in my app there are multiple charts and I want all of them to have the same PaletteBrushes.
I tried to move the Brush-Collection to a resource in my App.xaml but could not find out how:
Something like this:
App.xaml:
<Style x:Name="ChartStyle" x:Key="ChartStyle" TargetType="Controls:RadChart"> <Controls:RadChart.PaletteBrushes> <SolidColorBrush>Black</SolidColorBrush> <SolidColorBrush>Blue</SolidColorBrush> <SolidColorBrush>Red</SolidColorBrush> </Controls:RadChart.PaletteBrushes></Style>But this throws exception:
"Attachable property PalleteBrushes not found in type 'RadChart' "
Is there a way to do this?
Thanks
Lukas