Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
Questionget serial number of cd in c# ? Pin
hdv2125-Nov-05 13:53
hdv2125-Nov-05 13:53 
Questioncontext menu on service notifyicon Pin
g00fyman5-Nov-05 13:09
g00fyman5-Nov-05 13:09 
QuestionOverloading Index Operator Pin
budidharma5-Nov-05 12:05
budidharma5-Nov-05 12:05 
AnswerRe: Overloading Index Operator Pin
Heath Stewart5-Nov-05 12:39
protectorHeath Stewart5-Nov-05 12:39 
QuestiondataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 11:22
dataminers5-Nov-05 11:22 
AnswerRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 12:42
protectorHeath Stewart5-Nov-05 12:42 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 12:50
dataminers5-Nov-05 12:50 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 12:53
protectorHeath Stewart5-Nov-05 12:53 
In your class that derives from DataGridColumnStyle and in your overload to DataGridColumnStyle.Paint you'll get a CurrencyManager and a position to use with that CurrencyManager to get the data for the cell being drawn and then paint it how you want.

I'm really not sure how you want to set it at run-time. Please be specific. Do you want some property to arbitrarily or based on data? The article is about how to set the color of a cell based on the value of the data in that cell and that happens at run time.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 13:03
dataminers5-Nov-05 13:03 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 13:42
protectorHeath Stewart5-Nov-05 13:42 
QuestionLDAP User management Pin
WillemM5-Nov-05 9:18
WillemM5-Nov-05 9:18 
QuestionC# and .NET Framework Pin
Yevgeny Efter5-Nov-05 9:11
Yevgeny Efter5-Nov-05 9:11 
AnswerRe: C# and .NET Framework Pin
André Ziegler5-Nov-05 9:13
André Ziegler5-Nov-05 9:13 
AnswerRe: C# and .NET Framework Pin
Heath Stewart5-Nov-05 12:36
protectorHeath Stewart5-Nov-05 12:36 
Questionmaking the mouse perform a Drag-Drop with api Pin
jtmtv185-Nov-05 8:25
jtmtv185-Nov-05 8:25 
QuestionSingle Method With Mutiple Paremeters Pin
budidharma5-Nov-05 7:53
budidharma5-Nov-05 7:53 
AnswerRe: Single Method With Mutiple Paremeters Pin
[Marc]5-Nov-05 8:02
[Marc]5-Nov-05 8:02 
GeneralRe: Single Method With Mutiple Paremeters Pin
budidharma5-Nov-05 8:39
budidharma5-Nov-05 8:39 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC5-Nov-05 10:12
J4amieC5-Nov-05 10:12 
GeneralRe: Single Method With Mutiple Paremeters Pin
leppie5-Nov-05 18:57
leppie5-Nov-05 18:57 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC6-Nov-05 0:25
J4amieC6-Nov-05 0:25 
AnswerRe: Single Method With Mutiple Paremeters Pin
Heath Stewart6-Nov-05 6:01
protectorHeath Stewart6-Nov-05 6:01 
QuestionSystem Tray Icon Update Pin
Coffmans5-Nov-05 6:36
Coffmans5-Nov-05 6:36 
AnswerRe: System Tray Icon Update Pin
Heath Stewart5-Nov-05 12:33
protectorHeath Stewart5-Nov-05 12:33 
GeneralRe: System Tray Icon Update Pin
Coffmans5-Nov-05 13:33
Coffmans5-Nov-05 13:33 

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.