InsertCutCopiedCellsCommand Class
Implements
System.Windows.Input.ICommand
  Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.Commands
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class InsertCutCopiedCellsCommand : InsertCommand, ICommand
  Constructors
InsertCutCopiedCellsCommand(SfSpreadsheet, String)
Declaration
public InsertCutCopiedCellsCommand(SfSpreadsheet sfSpreadsheet, string commandName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfSpreadsheet | sfSpreadsheet | |
| System.String | commandName | 
Methods
OnCanExecute(Object)
Returns true if InsertCells Command can be executed else false
Declaration
public override bool OnCanExecute(object parameter)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | parameter | true or false  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | returns true or false  | 
      
Overrides
OnExecute(Object)
Used to execute the Insert cut/copied cells and row/column command
Declaration
protected override void OnExecute(object parameter)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | parameter | Pass parameter as Insertcells if Rows/Columns are to be inserted  | 
      
Overrides
Implements
      System.Windows.Input.ICommand