label question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ravikanth[MVP]

    #1

    label question

    Hi

    Use the Font property to specify the font properties of
    the Web Server control. This property includes
    subproperties that can be accessed declaratively in the
    form of Property-Subproperty (for example Font-Bold) or
    programmaticall y in the form of Property.Subpro perty (for
    example Font.Bold).

    All but one subproperty will render in browsers prior to
    Microsoft Internet Explorer version 4 for all controls.
    They are: Bold, Italic, Name, Names, Strikeout,
    Underline, and Size (but only named font sizes, such as
    Small, Smaller, and so on, will work).



    Ravikanth


    [color=blue]
    >-----Original Message-----
    >In my ASP.NET C# script, I am trying to set the[/color]
    ForeColor and Font-Bold[color=blue]
    >status of a label. I have managed to set the ForeColor[/color]
    by importing the[color=blue]
    >System.Drawi ng namespace, but I can't work out how to[/color]
    set the Font-Bold[color=blue]
    >status. Do I need to import another namespace?
    >
    >
    >Any assistance would be appreciated.
    >
    >
    >Cheers,
    >
    >Mike
    >
    >
    >
    >*** Sent via Developersdex http://www.developersdex.com[/color]
    ***[color=blue]
    >Don't just participate in USENET...get rewarded for it!
    >.
    >[/color]
Working...