Class SpreadsheetSetColumnSizeCommand
This command object holds column size information to undo column width of excel range.
Inheritance
System.Object
SpreadsheetSetColumnSizeCommand
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 SpreadsheetSetColumnSizeCommand : GridModelSetColumnSizeCommand
Constructors
SpreadsheetSetColumnSizeCommand(SpreadsheetGridModel, Int32, Int32, Double)
Initializes a new SpreadsheetSetColumnSizeCommand object with all the commands.
Declaration
public SpreadsheetSetColumnSizeCommand(SpreadsheetGridModel model, int from, int last, double values)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGridModel | model | The SpreadsheetGridModel this command is associated with. |
System.Int32 | from | First row index in range. |
System.Int32 | last | Last row index in range. |
System.Double | values | The sizes to be applies to the range. |
Methods
Execute()
Execute the command
Declaration
public override void Execute()