Changing styling of DataGridViewComboBoxCell from DropDownList to DropDown?
Posted
by John at CashCommons
on Stack Overflow
See other posts from Stack Overflow
or by John at CashCommons
Published on 2009-11-20T23:27:34Z
Indexed on
2010/05/14
15:04 UTC
Read the original article
Hit count: 340
(This question is narrower in scope than this question I asked earlier.)
Say I have a DataGridViewComboBoxColumn, and want to switch the style of the ComboBox control between DropDownList and DropDown (mainly for the text field editing capability). I'd like to do this on a row-by-row basis (at the DataGridViewComboBoxCell level).
How would I do that programatically?
Or maybe a different way of asking: How do I access the ComboBox control given an object of type DataGridViewComboBoxCell?
(I'm in VB 2005.)
Thanks as always.
© Stack Overflow or respective owner