wpf - DataGridComboBoxColumn Dynamic Binding -


i have datagrid combobox column. want bind column list of items generate dynamically in code-behind file. rows of datagrid have same list of items in combobox column. have done static binding using objectdataprovider, not sure how dynamically.

any appreciated!

thank you, santosh

you can use observablecollection<t> items, if bind itemssource of datagrid collection can dynamically items collection , added datagrid. see collections binding section on msdn more info. if not looking might want elaborate question still seems quite unclear (at least me).


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -