Version

ToolbarButton Class

Represents a button that performs standard formatting.
Syntax
'Declaration
 
Public Class ToolbarButton 
   Inherits BaseToolbarButton
public class ToolbarButton : BaseToolbarButton 
Remarks

The ToolbarButton control represents a button that performs standard formatting (formatting which occurs without any other dialogs or menus). A ToolbarButton can be created and used one of two ways:

  • Calling WebHtmlEditor.AddToolbarItem, passing in a ToolbarItemType associated with ToolbarButton (such as ToolbarItemType.Bold) creates the ToolbarButton, initializing it with default values for the "bold" type, and adds it to the Toolbar in one step.
  • Create a new ToolbarButton, passing in a ToolbarButtonType (such as ToolbarButtonType.Bold). This will create and initialize the ToolbarButton with default values for the "bold" type. Add the ToolbarButton 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