Skip to main content

IRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl) Method

Creates a command by its ID.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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