Class InsertCommentCommandBase
Command used to Insert/Add Comment for the CurrentCell
Implements
System.Windows.Input.ICommand
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.Commands
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class InsertCommentCommandBase : CommandBase, ICommand
Constructors
InsertCommentCommandBase(SfSpreadsheet, String)
Declaration
public InsertCommentCommandBase(SfSpreadsheet spreadsheetControl, string commandName)
Parameters
Type | Name | Description |
---|---|---|
SfSpreadsheet | spreadsheetControl | |
System.String | commandName |
Methods
Execute(Object)
Declaration
public override void Execute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Overrides
OnCanExecute(Object)
Declaration
public override bool OnCanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Returns
Type |
---|
System.Boolean |
Overrides
OnExecute(Object)
Executes the InsertComment Command
Declaration
protected override void OnExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | null |
Overrides
Implements
System.Windows.Input.ICommand