Version

ToolbarText Class

Represents non-interactive text on the toolbar.
Syntax
'Declaration
 
Public Class ToolbarText 
   Inherits BaseToolbarItem
public class ToolbarText : BaseToolbarItem 
Remarks

Create a custom ToolbarText to insert your own text onto the toolbar or use a predefined ToolbarText type to apply formatting to your toolbar such as line breaks and tabs

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

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