skmMenu: An ASP.NET Menu Control

MenuItem.Text Property

Gets or sets the MenuItem's text content.

public virtual string Text {get; set;}

Remarks

For total customization of the appearance of the MenuItem, the Text property can have HTML content.

Example

The following example illustrates using HTML content in the Text property:

[C#]
            MenuItem mi = new MenuItem();
            mi.Text = "<b>This will be bold!</b>";
            

See Also

MenuItem Class | skmMenu Namespace