Class SpreadsheetModelRemoveColumnsCommand
Holds undo information about a previous "GridModelRowColOperations.InsertRange" operation.
Inheritance
System.Object
SpreadsheetModelRemoveColumnsCommand
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.Controls.Spreadsheet
Assembly: Syncfusion.Spreadsheet.WPF.ClientProfile.dll
Syntax
public class SpreadsheetModelRemoveColumnsCommand : GridModelRemoveColumnsCommand
Constructors
SpreadsheetModelRemoveColumnsCommand(SpreadsheetGridModel, Int32, Int32)
Initializes the SpreadsheetModelRemoveColumnsCommand with information how to execute a "GridModelRowColOperations.RemoveRange" command at a later time and associates it with a "GridModelRowColOperations"/> instance.
Declaration
public SpreadsheetModelRemoveColumnsCommand(SpreadsheetGridModel model, int from, int count)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGridModel | model | The SpreadsheetGridModel this command is associated with. |
System.Int32 | from | First row index in range. |
System.Int32 | count | Last row index in range. |
Methods
Execute()
Executes the command.
Declaration
public override void Execute()