Class InsertCommentCommandBase
Command used to Insert/Add Comment for the CurrentCell
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Spreadsheet.Commands
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class InsertCommentCommandBase : CommandBase, ICommand
Constructors
InsertCommentCommandBase(Spreadsheet, String)
Declaration
public InsertCommentCommandBase(Spreadsheet spreadsheetControl, string commandName)
Parameters
Type | Name | Description |
---|---|---|
Spreadsheet | 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 |