This question is locked. New answers and comments are not allowed.
I have 5 barseries with the same label definitions.
How can i reuse it?
I tried to declare class - collection : List<LabelDefinition>
but i can't bind it to BarSeries.LabelDefinitions because it says - read only
How can i reuse it?
<telerikChart:BarSeries.LabelDefinitions>
<telerikChart:ChartSeriesLabelDefinition VerticalAlignment=
"Center"
HorizontalAlignment=
"Right"
>
<telerikChart:ChartSeriesLabelDefinition.Template>
<DataTemplate>
<TextBlock Margin=
"12,0,0,0"
Text=
"{Binding}"
/>
</DataTemplate>
</telerikChart:ChartSeriesLabelDefinition.Template>
</telerikChart:ChartSeriesLabelDefinition>
</telerikChart:BarSeries.LabelDefinitions>
I tried to declare class - collection : List<LabelDefinition>
but i can't bind it to BarSeries.LabelDefinitions because it says - read only