No.. that is not the case.  

The DataGridColumnStyle is completely responsible for rendering the
column cells.  I haven't worked with the combobox example, but if I were
to guess, I would think that you are only drawing the when the cell is
being edited.  That would make sense given that you are only seeing the
correct output when the cell is selected.

Make sure that you are overriding all OnPaint methods correctly.

Thanks,

Robert

-----Original Message-----
From: James Gibson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 26, 2002 2:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Help! How can I hyperlink from Windows datagrid?

Mark, Robert, thanks for responding, but I'm pretty sure the approach
suggested will not work as needed.  Prior to my original post, I spent
the
better part of a day experimenting with datagridcolumnstyle only to
learn
that the style only affects a given cell when that cell is current.
Which
means, even if I set the style for the column so that it would
underline, it
would only affect a cell when it was selected.  I'd love to be wrong on
this, but all of my experimentation indicates otherwise.  Have you or
others
worked with the datagrid combobox example, and if so, are comboboxes
visible
for each cell of a column, or does the combobox show only for the
current
cell?

Thanks,

James Gibson
952-988-0898

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to