How to expand datagridview combobox cell programmatically?

Posted by Luiscencio on Stack Overflow See other posts from Stack Overflow or by Luiscencio
Published on 2010-05-11T19:10:22Z Indexed on 2010/05/11 19:14 UTC
Read the original article Hit count: 366

I am trying to expand the ComboBox when users click it but I have had no success.

This is what I have:

private void dtgProductos_CellClick(object sender, DataGridViewCellEventArgs e)
{
    SendKeys.Send("{F2}");
    //dtgProductos.BeginEdit(true); does nothing!
}

Any advice on how to do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms