Open dropdown(in a datagrid view) items on a single click

前端 未结 3 1434
孤街浪徒
孤街浪徒 2020-12-01 20:39

How can i avoid the double click on a DropDownButton used within a DataGridView? Right now I am able to view the drop down items within the D

3条回答
  •  感动是毒
    2020-12-01 21:40

    Set EditMode property of the DataGridView to EditOnEnter: link

    DataGridView.EditMode - Gets or sets a value indicating how to begin editing a cell.

    EditOnEnter - Editing begins when the cell receives focus.

提交回复
热议问题