System.Web.UI.WebControls Namespace Style Class
Sets or retrieves the separate font attributes of a Web control.
Inline |
<asp:control font-subproperty = strValue | true | false ... > |
Script |
Style.Font.subproperty [ = strValue | true | false ] |
A FontInfo object that specifies the font information of the Web control.
The Font property uses as sub-properties the properties of the FontInfo class. These sub-properties can be accessed declaratively in the form of Font-Subproperty or programmatically in the form of Font.Subproperty.
All but one sub-property, Overline, will render on downlevel browsers for all controls.
Style Members FontInfo Base Web Control Properties