Skip to main content

IRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl) Method

Creates a command by its ID.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v24.1.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