var b = new Binding("Data"); // Property on datacontext
TheGrid.SetBinding(DataGrid.ItemsSourceProperty, b);
Ingen kommentarer:
Legg inn en kommentar