Controls You Can Use on Web Forms ASP.NET IE WebControls Toolbar WebControl
The Toolbar WebControl simplifies the authoring of user interface ( UI ) elements used for invoking commands or navigating site content.
The Toolbar renders a menu-like interface that behaves similarly to the toolbars commonly used in Microsoft Windows applications.
Essentially, a Toolbar serves simply as a container for one or more ToolbarItem controls that users can select. The Toolbar supports the following types of controls.
The Toolbar offers a range of features. The control can contain either
- text-based controls, if you only want to focus on the text content of the controls; and/or
- image-based controls, if you want partial or full control over the appearance of the UI. The control supports the use of graphic elements inside any of its child elements.
In addition, the Toolbar can be set to render either horizontallly or vertically. The alignment of the elements in a Toolbar can be defined by setting the Orientation property.
The below examples illustrate using a simple Toolbar control.
The Toolbar includes default style and property settings that apply to all its child controls, but which can optionally be overwritten by explicitly setting specific style and/or property attributes for the Toolbar.
The style and/or property attributes can also be set for each child element, providing authors with greater flexibility when creating a personalized Toolbar control.
Adding Toolbar Controls to a Web Forms Page Customizing the Toolbar Control User Interface