Click here to Skip to main content
16,020,666 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using await/async Correctly Pin
Gerry Schmitz25-Sep-23 16:13
mveGerry Schmitz25-Sep-23 16:13 
GeneralRe: Using await/async Correctly Pin
Kevin Marois25-Sep-23 16:49
professionalKevin Marois25-Sep-23 16:49 
GeneralRe: Using await/async Correctly Pin
Gerry Schmitz25-Sep-23 17:06
mveGerry Schmitz25-Sep-23 17:06 
AnswerRe: Using await/async Correctly Pin
Richard Deeming25-Sep-23 21:52
mveRichard Deeming25-Sep-23 21:52 
QuestionWin Forms, WPF, WinUI 3 Pin
Member 1210196924-Sep-23 10:04
Member 1210196924-Sep-23 10:04 
AnswerRe: Win Forms, WPF, WinUI 3 Pin
Gerry Schmitz24-Sep-23 18:08
mveGerry Schmitz24-Sep-23 18:08 
AnswerRe: Win Forms, WPF, WinUI 3 Pin
#realJSOP19-Mar-24 2:50
professional#realJSOP19-Mar-24 2:50 
Question.NET 4.7 Desktop Form combox coloring within datagridview Pin
.NET4Ever22-Sep-23 4:50
.NET4Ever22-Sep-23 4:50 
I can't find the setting(s) to change the color of a combobox within a datagridview.

I tried this code below. I get a dark line around the datagridview cell and a white background. I see the colors I set below when I view the list within the combobox.

combo.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox;
combo.CellTemplate.Style.BackColor = Color.LightSalmon;
combo.CellTemplate.Style.ForeColor = Color.Black;
combo.CellTemplate.Style.SelectionBackColor = Color.LightSalmon;
combo.CellTemplate.Style.SelectionForeColor = Color.Black;

modified 22-Sep-23 11:21am.

AnswerRe: .NET 4.7 Desktop Form combox coloring within datagridview Pin
Alan N22-Sep-23 13:40
Alan N22-Sep-23 13:40 
GeneralRe: .NET 4.7 Desktop Form combox coloring within datagridview Pin
.NET4Ever25-Sep-23 4:02
.NET4Ever25-Sep-23 4:02 
QuestionWhat are Custom Control and User Control? Pin
Emmanuel Katto22-Sep-23 1:31
professionalEmmanuel Katto22-Sep-23 1:31 
AnswerRe: What are Custom Control and User Control? Pin
OriginalGriff22-Sep-23 2:23
mveOriginalGriff22-Sep-23 2:23 
GeneralRe: What are Custom Control and User Control? Pin
Gerry Schmitz22-Sep-23 4:05
mveGerry Schmitz22-Sep-23 4:05 
QuestionFIREBASE Filter Data from Date to Date Pin
sameera suresh bandara herath18-Sep-23 3:04
sameera suresh bandara herath18-Sep-23 3:04 
AnswerRe: FIREBASE Filter Data from Date to Date Pin
OriginalGriff18-Sep-23 4:05
mveOriginalGriff18-Sep-23 4:05 
AnswerRe: FIREBASE Filter Data from Date to Date Pin
Richard Deeming18-Sep-23 4:55
mveRichard Deeming18-Sep-23 4:55 
AnswerRe: FIREBASE Filter Data from Date to Date Pin
jschell18-Sep-23 5:38
jschell18-Sep-23 5:38 
GeneralRe: FIREBASE Filter Data from Date to Date Pin
Gerry Schmitz18-Sep-23 6:32
mveGerry Schmitz18-Sep-23 6:32 
GeneralRe: FIREBASE Filter Data from Date to Date Pin
jschell19-Sep-23 5:34
jschell19-Sep-23 5:34 
Suggestion"New" Pattern Pin
Gerry Schmitz15-Sep-23 9:08
mveGerry Schmitz15-Sep-23 9:08 
GeneralRe: "New" Pattern Pin
trønderen15-Sep-23 10:16
trønderen15-Sep-23 10:16 
GeneralRe: "New" Pattern Pin
Gerry Schmitz15-Sep-23 12:27
mveGerry Schmitz15-Sep-23 12:27 
GeneralRe: "New" Pattern Pin
trønderen15-Sep-23 13:07
trønderen15-Sep-23 13:07 
GeneralRe: "New" Pattern Pin
Gerry Schmitz15-Sep-23 13:23
mveGerry Schmitz15-Sep-23 13:23 
GeneralRe: "New" Pattern Pin
trønderen15-Sep-23 14:19
trønderen15-Sep-23 14:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.