Sunday, April 13, 2014

WPF ComboBox ItemsSource bind to parent collection

In is common to bind combo box in datagrid to parent ItemsSource.

For example we need to select Currency for each Account.

So we have Currencies collection in parent level. And each Account has Currency.

Now to bind each account combobox to Currencies collection use CollectionViewSource

No comments:

Post a Comment