Skip to main content
A newer version of this page is available. .

HtmlEditorToolbarItem(String, String, String, ViewStyle) Constructor

Initializes a new instance of the HtmlEditorToolbarItem class with the specified settings.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll

Declaration

public HtmlEditorToolbarItem(
    string text,
    string commandName,
    string toolTip,
    ViewStyle viewStyle
)

Parameters

Name Type Description
text String

A String value that specifies the created toolbar item’s display text. Initializes the item’s ToolbarItemBase.Text property.

commandName String

A String value that identifies the executed command. Initializes the HtmlEditorToolbarItem.CommandName property.

toolTip String

A String value that specifies the created toolbar item’s tooltip text. Initializes the ToolbarItemBase.ToolTip property.

viewStyle ViewStyle

A ViewStyle object specifying how a toolbar item is represented within a toolbar. Initializes the HtmlEditorToolbarItem.ViewStyle property.

See Also