ResizeColumnCommand Class

Undoable command that resizes a column to a new width.

Inheritance

Object

Spreadsheet.ResizeColumnCommand

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public sealed class ResizeColumnCommand : Spreadsheet.ICommand

Constructors

ResizeColumnCommandLink to this section

Undoable command that resizes a column to a new width.

Declaration
public ResizeColumnCommand(Documents.Spreadsheet.Worksheet sheet, int column, double oldWidth, double newWidth, bool isAutoFit)
Parameters
Type Name Description
Documents.Spreadsheet.Worksheet sheet
int column
double oldWidth
double newWidth
bool isAutoFit

Properties

FeatureLink to this section

Declaration
public Spreadsheet.SpreadsheetFeature? Feature { get; }
Property Value
Type Description
Spreadsheet.SpreadsheetFeature?

Methods

ExecuteLink to this section

Declaration
public bool Execute()
Returns
Type Description
bool

UnexecuteLink to this section

Declaration
public void Unexecute()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙