Skip to main content
All docs
V25.1
  • IRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl) Method

    Creates a command by its ID.

    Namespace: DevExpress.XtraRichEdit.Services

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