A newer version of this page is available. Switch to the current version.

ToolbarPrintButton Class

A default toolbar button that invokes a standard 'Print' dialog allowing the editor's content to be printed.

Namespace: DevExpress.Web.ASPxHtmlEditor

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


public class ToolbarPrintButton :


The ASPxHtmlEditor allows end-users to print its contents by using the Print button (ToolbarPrintButton). By default, the Print button is not displayed in the editor's toolbars.

You can add the Print button to toolbars by using either the ASPxHtmlEditor designer at design time, or programmatically.

protected void Page_Load(object sender, EventArgs e) {
    HtmlEditorToolbar stToolbar1 = HtmlEditorToolbar.CreateStandardToolbar1();
    ToolbarPrintButton printButton = new ToolbarPrintButton();
See Also