ISpreadsheetCommandFactoryService.CreateCommand(SpreadsheetCommandId) Method
In This Article
Creates a command for use in the SpreadsheetControl.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
id | DevExpress. |
A DevExpress. |
#Returns
Type | Description |
---|---|
DevExpress. |
A Spreadsheet command object. |
#Remarks
To perform a command substitution in the SpreadsheetControl, create a SpreadsheetCommandFactoryServiceWrapper class descendant and override its SpreadsheetCommandFactoryServiceWrapper.CreateCommand method.
See Also