or
public class MyDynamicObject : DynamicObject{ public string Name { get; set; } public override bool TryGetMember(GetMemberBinder binder, out object result) { return base.TryGetMember(binder, out result); } public override bool TrySetMember(SetMemberBinder binder, object value) { return base.TrySetMember(binder, value); }}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>

