Hi, I would like to know how to change the appearance of checkbox in DataGridViewCheckBoxColumn. With normal check box control, we can change the appearance to button or normal. How can I do that with in DataGridView
If you want to do this at design time, it's pretty easy. Go to the Properties window of the DataGridView, select Columns then in the Bound Column Properties section, click the dropdown ColumnType property. It will show you the available options for DataGridViewCheckBoxColumn. You can choose button or any other styles available.
Hi Mamta, Thanks for ur suggestion. I think u misunderstand my question. I already changed column type into DataGridViewCheckBoxColumn. My question is that I want to change the appearance of that checkbox into button-type checkbox. U may notice that feature is available in normal checkbox. I want to know how to change the appearance of checkbox in DataGridViewCheckBoxColumn.
Mamta M wrote:
Hi,
If you want to do this at design time, it's pretty easy. Go to the Properties window of the DataGridView, select Columns then in the Bound Column Properties section, click the dropdown ColumnType property. It will show you the available options for DataGridViewCheckBoxColumn. You can choose button or any other styles available.
Hi Xavier, Datagrid and DataGridView is not same. They are different in so many ways. Datagrid is old control used in .net 1.0 and 1.1. DataGridView(DGV) is new control introduced in 2.0. People are saying that DGV has more flexible ways and features to present data. I am also exploring that control. You can find most of references and problems in this forum.
DataGridViewCheckBoxColumn
Satyendra Kumar
dmbrubac
Hi,
If you want to do this at design time, it's pretty easy. Go to the Properties window of the DataGridView, select Columns then in the Bound Column Properties section, click the dropdown ColumnType property. It will show you the available options for DataGridViewCheckBoxColumn. You can choose button or any other styles available.
Hope that helps.
Regards,
Mamta
Torpedoke
Thanks for ur suggestion. I think u misunderstand my question. I already changed column type into DataGridViewCheckBoxColumn. My question is that I want to change the appearance of that checkbox into button-type checkbox. U may notice that feature is available in normal checkbox. I want to know how to change the appearance of checkbox in DataGridViewCheckBoxColumn.
Serge Allard
Datagrid and DataGridView is not same. They are different in so many ways. Datagrid is old control used in .net 1.0 and 1.1. DataGridView(DGV) is new control introduced in 2.0. People are saying that DGV has more flexible ways and features to present data. I am also exploring that control. You can find most of references and problems in this forum.