IRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl) Method
In This Article
Creates a command by its ID.
Namespace: DevExpress.XtraRichEdit.Services
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
RichEditCommand CreateCommand(
RichEditCommandId commandId,
IRichEditControl control
)
#Parameters
Name | Type | Description |
---|---|---|
command |
Rich |
A command to create. |
control | IRich |
The related Rich |
#Returns
Type | Description |
---|---|
Rich |
An Xtra |
See Also