Home All Groups Group Topic Archive Search About

datagridtextboxcolumn

Author
8 Feb 2006 9:04 AM
schapopa
Hi,

I have a datagrid and create class that inherits from
datagridtextboxcolumn, for first column in my datagrid. Last thing that
I am trying to achieve is to get font in that first column to be bold.
Can somebody give me a hint, how to do that.

Regards
Schapopa




*** Sent via Developersdex http://www.developersdex.com ***

Author
8 Feb 2006 11:56 AM
Ken Tucker [MVP]
Hi,

        Sorry there is no easy way to do this with the datagrid.  You would
need to create a custom column style for this.  You have to check to see if
the column is the first visible column and draw the data in the new font.
You can find from sample column styles in our vb-tips.com website.  This is
much easier in the datagridview.

http://www.vb-tips.com/default.aspx

Ken
-----------------------
Show quoteHide quote
<schapopa> wrote in message news:%231jH76ILGHA.3424@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I have a datagrid and create class that inherits from
> datagridtextboxcolumn, for first column in my datagrid. Last thing that
> I am trying to achieve is to get font in that first column to be bold.
> Can somebody give me a hint, how to do that.
>
> Regards
> Schapopa
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***