or
<HierarchicalDataTemplate x:Key="TopItemTemplate" ItemsSource="{Binding AssociatedOfferings}"> <StackPanel Orientation="Horizontal"> <CheckBox IsChecked="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsEnabled="{Binding IsEnabled}" /> <TextBlock Text="{Binding Name}" Margin="10,0,0,0" /> </StackPanel> </HierarchicalDataTemplate> <telerik:RadTreeView ItemsSource="{Binding Items}" DataContext="{Binding}" ItemTemplate="{DynamicResource TopItemTemplate}" />ThematicLayer.Reader =
new MapShapeReader();
ThematicLayer.Reader.ReadCompleted += MapShapeReader_ReadCompleted;
ThematicLayer.Reader.Source =
new Uri(string.Format(ShapeFilePath, new object[] { layerName, ShapeExtension }), UriKind.Absolute);
ThematicLayer.Reader.DataSource =
new Uri(string.Format(ShapeFilePath, new object[] { layerName, DbfExtension }), UriKind.Absolute);
ThematicLayer.Reader.SourceType =
ShapeSourceType.ShapeFile;
<Style TargetType="{x:Type TreeViewItem}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
</Style>
<Style TargetType="{x:Type telerik:RadTreeViewItem}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
</Style>
but this does not work. Do you have any workarounds for not showing the dotted border?Hello
1. Can I add Aggregate Function between the rows without using groping?
2. Can I show column footers for the gird not for the columns with custom function?
Best regards
Ehud
DataSeries barSeries = new DataSeries();var maxKey = features.Max(x => x.Key);ObservableCollection<DataPoint> dataPoints=new ObservableCollection<DataPoint>();Parallel.For(1, maxKey, i => { DataPoint dataPoint; if (features.ContainsKey(i)) { int xLabel = i*_mStatisticsStep; dataPoint = new DataPoint(xLabel, features[i]) {XCategory = xLabel.ToString()}; } else { int xLabel = i*_mStatisticsStep; dataPoint = new DataPoint(xLabel, 0) {XCategory = xLabel.ToString()}; } dataPoints.Add(dataPoint); });barSeries.AddRange(dataPoints);