Version

ToolbarDropDown Class

Represents a drop-down select box.
Syntax
'Declaration
 
Public Class ToolbarDropDown 
   Inherits BaseToolbarItem
public class ToolbarDropDown : BaseToolbarItem 
Remarks

The ToolbarDropDown control represents a drop-down select box. On the control level, each ToolbarDropDown is made up of ToolbarDropDownItems (accessable via the ToolbarDropDown.Items property). When creating predefined ToolbarDropDown types (all ToolbarDropDownTypes besides ToolbarDropDownType.Custom) the ToolbarDropDown will be created with the proper default calues for the type.

A ToolbarDropDown can be created and used one of two ways:

  • Calling WebHtmlEditor.AddToolbarItem, passing in a ToolbarItemType associated with ToolbarDropDown (such as ToolbarItemType.FontName) creates the ToolbarDropDown, initializing it with default values for the "font name" type, and adds it to the Toolbar in one step.
  • Create a new ToolbarDropDown, passing in a ToolbarDropDownType (such as ToolbarDropDownType.FontName). This will create and initialize the ToolbarDropDown with default values for the "font name" type. Add the ToolbarDropDown using the ToolbarItemCollection.Add method (WebHtmlEditor.Toolbar.Items.Add).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also