Home All Groups Group Topic Archive Search About

Is there a way to suppress the underline on the day link in a Calendar Control

Author
29 Apr 2006 4:28 AM
JimO
I don't want the user to see any links on the previous or next month days.
Is there a way to supress the underline on the days in a calendar control.
Maybe something like a text-decoration: none;

Thanks,
Jim

Author
29 Apr 2006 4:56 PM
Nathan Sokalski
Yes, use the following two properties:

DayStyle.Font.Underline
OtherMonthDayStyle.Font.Underline

I'm sure you can guess by looking at these properties that you can change
any properties for the next/prev months that you can change for the current
month, so have fun! If you have any trouble with this, let me know and I
will do my best to help you. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Show quoteHide quote
"JimO" <joneill517-***@DEF-earthlink.net> wrote in message
news:NXB4g.11272$Es3.6101@newsread3.news.atl.earthlink.net...
>I don't want the user to see any links on the previous or next month days.
> Is there a way to supress the underline on the days in a calendar control.
> Maybe something like a text-decoration: none;
>
> Thanks,
> Jim
>
>
Author
29 Apr 2006 5:50 PM
JimO
Thanks!

Show quoteHide quote
"Nathan Sokalski" <njsokal***@hotmail.com> wrote in message
news:ekG2l36aGHA.608@TK2MSFTNGP02.phx.gbl...
> Yes, use the following two properties:
>
> DayStyle.Font.Underline
> OtherMonthDayStyle.Font.Underline
>
> I'm sure you can guess by looking at these properties that you can change
> any properties for the next/prev months that you can change for the
current
> month, so have fun! If you have any trouble with this, let me know and I
> will do my best to help you. Good Luck!
> --
> Nathan Sokalski
> njsokal***@hotmail.com
> http://www.nathansokalski.com/
>
> "JimO" <joneill517-***@DEF-earthlink.net> wrote in message
> news:NXB4g.11272$Es3.6101@newsread3.news.atl.earthlink.net...
> >I don't want the user to see any links on the previous or next month
days.
> > Is there a way to supress the underline on the days in a calendar
control.
> > Maybe something like a text-decoration: none;
> >
> > Thanks,
> > Jim
> >
> >
>
>