Home / FAQ / WinForms / Datagrid / How do I prevent a click into the grid highlighting a cell
Set the grid’s Enabled property to false.
dataGrid1.Enabled = false;
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with