System.Web.UI.WebControls.FontInfo.Name Property

Gets or sets the primary font name.

Syntax

[System.ComponentModel.TypeConverter(typeof(System.Drawing.FontConverter+FontNameConverter))]
[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.Editor("System.Drawing.Design.FontNameEditor, System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
public string Name { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the FontInfo.Name property to specify or determine the primary font name. The primary font name determines the font that is used to display text in the control associated with the System.Web.UI.WebControls.FontInfo.

Note:

When you set the FontInfo.Names property, the FontInfo.Name property is automatically updated with the first item in the FontInfo.Names property. If you set the FontInfo.Name property, the FontInfo.Names property is automatically updated with a single element array containing the value of the FontInfo.Name property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0