or

<x:Array Type="Style" x:Key="styleList"> <Style TargetType="Path"> <Setter Property="Fill" Value="#FF5661"/> </Style> <Style TargetType="Path"> <Setter Property="Fill" Value="#FF56DA"/> </Style> .......
.......
<Style TargetType="Path"> <Setter Property="Fill" Value="#89638E"/> </Style> </x:Array>
So far I tried below code, which will not work, Is there any workaround OR How should we address this in best way.<telerik:PieSeries ItemsSource="{Binding Items}" SliceStyles="{Binding Path=., Source={StaticResource styleList}}" ............
Note: We do not want to do following.<telerik:PieSeries.SliceStyles> <Style TargetType="Path"> <Setter Property="Fill" Value="#FF5661"/> </Style>
<Style TargetType="Path"> <Setter Property="Fill" Value="#89638E"/> </Style>
</telerik:PieSeries.SliceStyles>
ScatterPointSeries sps = new ScatterPointSeries();brush = Brushes.Red; // This will be dynamicsps.ItemsSource = source;sps.XValueBinding = new PropertyNameDataPointBinding() { PropertyName = XPath };sps.YValueBinding = new GenericDataPointBinding<T, float>() { ValueSelector = Function };
Chart.Series.Add(sps);
public void Initialize(){ // Register views here. this.regionManager.RegisterViewWithRegion("OutlookBarRegion", () => { return new ModuleAView().OutlookBarItem; };}