Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Change Color of DataGridViewComboBoxCell When Selected Programatically

$
0
0
I have a C# app with a Find And Replace dialog that searches cells in a DataGridView on another form. When a DataGridViewComboBoxCell is selected, its color does not change to blue like it does for TextBoxes and CheckBoxes. How can I make it change color when selected programatically? I have tried changing the forecolor and backcolor, but neither gives me the effect that I want.

Rob E.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>