or
I was reading this thread:
http://www.telerik.com/community/forums/wpf/gridview/column-chooser.aspx
Can you please post a working wpf example since I cannot get the code to compile when I replace the rad context menu with the standard windows context menu. Can you please post a working copy using the wpf rad grid view for all of us to use?
Bill

01.<telerik:VisualizationLayer.VirtualizationSource>02. <telerik:MapShapeDataVirtualizationSource>03. <telerik:MapShapeDataVirtualizationSource.Reader>04. <telerik:AsyncShapeFileReader x:Name="mapShapeDataReader">05. <telerik:AsyncReaderSourceCollection>06. <telerik:AsyncReaderSource Source="/MyProject;component/Resources/myshape1.shp" DataSource="/MyProject;component/Resources/myshape1.dbf" />07. <telerik:AsyncReaderSource Source="/MyProject;component/Resources/myshape2.shp" DataSource="/MyProject;component/Resources/myshape2.dbf" />08. </telerik:AsyncReaderSourceCollection>09. </telerik:AsyncShapeFileReader>10. </telerik:MapShapeDataVirtualizationSource.Reader>11. </telerik:MapShapeDataVirtualizationSource>12.</telerik:VisualizationLayer.VirtualizationSource>


MapPolyline polylinedata = new MapPolyline() polylinedata.SetValue(MapLayer.ZoomRangeProperty, new ZoomRange(2, 9)); polylinedata.SetValue(MapLayer.BaseZoomLevelProperty, 5); polylinedata.SetValue(MapLayer.MaxScaleProperty, 5); polyline.Style = this.Resources["selectedPolyLineStyle"] as Style; PolylineData polylinedata = new PolylineData(); polylinedata.SetValue(MapLayer.ZoomRangeProperty, new ZoomRange(2, 9)); polylinedata.SetValue(MapLayer.BaseZoomLevelProperty, 5); polylinedata.SetValue(MapLayer.MaxScaleProperty, 5); polyline.Style = this.Resources["selectedPolyLineStyle"] as Style;