HI to all,
it's possible to bind datagrid with graphics layer ?
this is my code:
MyGrid.Columns.Add(new DataGridTextColumn() {
CanUserSort = true,
SortMemberPath = "NAME",
Binding = new System.Windows.Data.Binding("Attributes[NAME]"),
Header = "NAME"
});
MyGrid.Columns.Add(new DataGridTextColumn());
MyGrid.ItemsSource = MyGraphicLayer.Graphics;
doesn't work, an error is fired
MyGraphicLayer has graphics obj with attribute NAME set correctly
What can be problem ?
Thanks a lot GP