ToolbarItem Class

This class is the base class for all Toolbar child nodes.

Syntax

Visual Basic MustInherit  Public  Class ToolbarItem Inherits BaseChildNode
C# public   abstract  class ToolbarItem : BaseChildNode
Managed C++ public:  __gc __abstract  class ToolbarItem :  public BaseChildNode
JScript public   abstract  class ToolbarItem extends BaseChildNode

Inheritance Hierarchy

Object::BaseChildNode

Members Table

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

Attribute Property Description
AccessKey Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item.
ClientIndex The flat index of the ToolbarItem.
CURRENTSTYLE CurrentStyle The product of merging local and global styles.
DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element.
Enabled Sets or retrieves a value indicating whether the item is enabled.
HasUpLevelContent Retrieves a bool that indicates whether the child has uplevel content.
Index Retrieves the index of the toolbar item within the parent.
ORIENTATION Orientation Retrieves a value that indicates the alignment of the object within the document.
Parent Retrieves the parent object of a node.
ParentToolbar The Toolbar control that contains this item.
TabIndex Sets or retrieves the tab index of the item.
ToolTip Sets or retrieves the ToolTip for the item to be displayed when the cursor is over the control.
UpLevelTag The uplevel tag name for the object item.
Method Description
AddAttributesToRender Adds attributes to the HtmlTextWriter object.
Clone Creates a new object that is a copy of the current instance.
DesignerContent Renders the item's content for the Microsoft Visual Studio .NET Editor.
DownLevelContent Renders the item's contents for downlevel browsers.
LoadViewState Loads the item's previously saved view state.
RenderDesignerPath Implements the rendering path for the Visual Studio .NET Editor.
RenderDownLevelPath Implements the downLevel rendering path in this method.
RenderUpLevelPath Implements the uplevel rendering path for this method.
SaveViewState Saves changes to the item's view state to an object.
SetViewStateClean Sets all items within the StateBag to be clean.
SetViewStateDirty Sets all items within the StateBag to be dirty.
ToString Retrieves a string that indicates the current object.
TrackViewState Instructs the control to track changes to its view state.
UpLevelContent Renders content for an uplevel browser.
WriteAttributes Writes attributes to the HtmlTextWriter object.
WriteItemAttributes Renders the object item's attributes.

Class Information

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

See Also

Internet Explorer WebControls, About the Toolbar WebControl