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

ASPxClientCommandConsts.FORMATDOCUMENT_COMMAND Property

Identifies a command that formats the current HTML document.

Declaration

static FORMATDOCUMENT_COMMAND: string

Property Value

Type Description
string

Value: “formatdocument”

Remarks

The FORMATDOCUMENT_COMMAND property can be used in the following ways.

The following example illustrates how to use the FORMATDOCUMENT_COMMAND property.

<dx:ASPxHtmlEditor runat="server" ID="ASPxHtmlEditor2">
    <ClientSideEvents Init="ensureDocumentFormat" ActiveTabChanged="ensureDocumentFormat" />
</dx:ASPxHtmlEditor>

Note

This command is available only in the HTML View.

See Also