Create DataGrid at Runtime

Feb 21, 2010 at 12:00 PM

Can you create this Bindable datagrid at runtime?

With the Silverlight 3 built in datagrid, I can just instatiate a new DataGrid

Datagrid dg = new Datagrid();

Then I can add to StackPanel...

How do I create this new bindable datagrid control at runtime?


Feb 22, 2010 at 3:56 AM
Edited Feb 22, 2010 at 3:56 AM

nevermind found my answer


BindableDataGrid dg = new BindableDataGrid.BindableDataGrid();

May 27, 2010 at 9:54 PM
Hi, sorry about being late in answering, I thought I would be receiving emails when someone posted something here, but I didn't... Glad to know someone is using it, at least to play a little bit, thank you. :-) Kind regards.