Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web

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.

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