c# - How can I modify the format of a DataGridViewComboBoxColumn? -
I have a similar problem as described by the poster, where they want the combobox to display the description of enums and There are no toasting Enum
I really like but I noticed that Can anyone offer me an alternative solution for this? When I need to assign a list of value values for the combo box, usually DataGridViewComboBoxColumn does not have a format or formatting enabled not a feature.
List & lt; Tuple & lt; Enum, string & gt; & Gt; Specify the DataSaster as DisplayMember ValueMember (winforms), DisplayMemberPath selected Valuepath (wpf) Item2 and Item1 Then, as the value, I use SelectedValue instead of the selected event.
Comments
Post a Comment