Hi,
I have created a DropdownCombobox column in WPFDataGrid and i have just binded the column as below
<dg:DataGridComboBoxColumn SelectedValueBinding="{Binding CustomerID}"
SelectedValuePath="CustomerID"
DisplayMemberPath="ContactName"
Header="CustomerID (ContactName alias using SelectedValueBinding)"
ItemsSource="{Binding Account}">
But i need tocapture the CustomerID of the selected value in the DropdowncomboBox in WPF dataGrid (May be in the Selectionchanged event).
But i dont know how to create these events as it is not available by default.
Please any help how create event and how tocapture the selected value
Thanks in advance