Skip to main content

ToolbarDropDownMenu(String, Boolean, Boolean, ToolbarMenuItem[]) Constructor

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ToolbarDropDownMenu(
    string commandName,
    bool beginGroup,
    bool visible,
    params ToolbarMenuItem[] items
)

Parameters

Name Type Description
commandName String

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

beginGroup Boolean

true if the current toolbar item starts a group; otherwise, false. This value is assigned to the HtmlEditorToolbarItem.BeginGroup property.

visible Boolean

true to display the current toolbar item; otherwise, false. This value is assigned to the HtmlEditorToolbarItem.Visible property.

items ToolbarMenuItem[]

An array that contains zero or more ToolbarMenuItem objects to populate the ToolbarDropDownMenu.Items collection.

See Also