Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl) Method

Creates a command by its ID.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v21.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

RichEditCommand CreateCommand(
    RichEditCommandId commandId,
    IRichEditControl control
)

Parameters

Name Type Description
commandId RichEditCommandId

A command to create.

control IRichEditControl

The related RichEditControl.

Returns

Type Description
RichEditCommand

An XtraRichEdit command object.

See Also