Questions tagged [datagridcomboboxcolumn]

The DataGridComboBoxColumn is a DataGridColumn implementation for ComboBox'able cells

Learn more about DataGridComboBoxColumn on MSDN.

330 questions
1
vote
1 answer

WPF - datagridcombobox - change displayed value after selection of item from dropdown

I specified a datagrid in XAML as Number of columns is set dynamically depending on the user's choice. //define number of alternatives int num = Alternatives.Children.Count - 1; Columns are…
Irina
  • 37
  • 8
1
vote
2 answers

WPF: "None" option when Databinding with DataGridComboBoxColumn

This is what I want: There is a combo-box column bound to the ApplicationKey property of ClassA. ClassA.ApplicationKey is a Nullable The combo-box is populated with ApplicationTokens from a static function all. An ApplicationToken has a…
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
1
vote
2 answers

WPF DataGrid - Dynamically Bind DataGridComboBoxColumn based on row

I have an ObservableCollection of objects. These object are displayed in a DataGrid & a `SelectedObject I have a property PossibleParentObjects that returns a List of Objects based on the SelectedObject. I would like to have this property populate a…
Anthony Nichols
  • 1,586
  • 2
  • 25
  • 50
1
vote
3 answers

WPF: Binding DataGrid to a list having a DataGridComboBoxColumn bound to a list?

I have a DataGrid with ItemsSource set to a list of products and I have a DataGridComboBoxColumn inside the DataGrid with ItemsSource set to a list of categories. That way I want the user to choose a certain category for each product. I always get…
msfanboy
  • 5,273
  • 13
  • 69
  • 120
1
vote
2 answers

DataGridComboBoxColumn wont display selected item in cell on ending edit

I'm having an issue when I select an item from a DataGridComboBoxColumn. The cell wont display the name of the item I've chosen after I move focus to the next cell. This is the code I have: DataGridComboBoxColumn cb1 = new…
user2748943
  • 533
  • 2
  • 9
  • 20
1
vote
1 answer

DataGridViewComboBoxColumn Strange Behaviour

I am facing some strange issue in datagridview.I have datagridview with ComboBox Column.I have used datagridviewv_EditingControlShowing event and then use GridCombo_SelectedIndexChanged event.First time when i select some Disply Member from Combobox…
Hetvi
  • 132
  • 1
  • 1
  • 8
1
vote
1 answer

WPF: DataGridComboBoxColumn styling ComboBoxItem

I have this style defined in :