Share via


TOOLBARLABEL Element | ToolbarLabel Class

This class represents a ToolbarLabel within a Toolbar.

Syntax

Visual Basic  Public  Class ToolbarLabel Inherits ToolbarItem
C# public   class ToolbarLabel : ToolbarItem
Managed C++ public:  __gc class ToolbarLabel :  public ToolbarItem
JScript public   class ToolbarLabel extends ToolbarItem

Inheritance Hierarchy

Object::BaseChildNode::ToolbarItem

Remarks

Instead of content, the TOOLBARLABEL element can include TEXT and/or an image.

This element is a block element.

This element requires a closing tag.

Members Table

The following table lists the members exposed by the ToolbarLabel object.

Attribute Property Description
HasUpLevelContent Retrieves a bool that indicates whether the child has uplevel content.
IMAGEURL ImageUrl Sets or retrieves a value that indicates the URL of the image to be displayed on a node or toolbar item.
TEXT Text Sets or retrieves a value that indicates the text or caption for the object.
UpLevelTag The uplevel tag name for the object item.
Method Description
DesignerContent Renders the item's content for the Microsoft Visual Studio .NET Editor.
DownLevelContent Renders the item's contents for downlevel browsers.
RenderDownLevelPath Implements the downLevel rendering path in this method.
RenderImage Renders the image tag.
RenderText Renders the text property.
UpLevelContent Renders the item's contents for uplevel browsers.
WriteItemAttributes Renders the object item's attributes.

Class Information

Namespace Microsoft.Web.UI.WebControls
Assembly Microsoft.Web.UI.WebControls.dll

Applies To

TOOLBAR

See Also

Internet Explorer WebControls, About the Toolbar WebControl