Back to Devexpress

SpreadsheetControl.GetCommand(SpreadsheetCommandId) Method

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-dot-getcommand-x28-devexpress-dot-xtraspreadsheet-dot-commands-dot-spreadsheetcommandid-x29.md

latest1.6 KB
Original Source

SpreadsheetControl.GetCommand(SpreadsheetCommandId) Method

Obtains a command by the command identifier.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public ICommand GetCommand(
    SpreadsheetCommandId id
)
vb
Public Function GetCommand(
    id As SpreadsheetCommandId
) As ICommand

Parameters

NameTypeDescription
idDevExpress.XtraSpreadsheet.Commands.SpreadsheetCommandId

A DevExpress.XtraSpreadsheet.Commands.SpreadsheetCommandId structure member, which specifies a command.

|

Returns

TypeDescription
ICommand

An object with the ICommand interface that is the Spreadsheet command.

|

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace