New to Telerik UI for WinFormsStart a free 30-day trial

Represents the command used to update the active cell of the active selection range.

Definition

Constructors

Initializes a new instance of the UpdateActiveSelectionRangeActiveCellCommand class.

C#
public UpdateActiveSelectionRangeActiveCellCommand(RadWorksheetEditor associatedEditor)
Parameters:associatedEditorRadWorksheetEditor

The associated editor.

Methods

Defines the method that determines whether the command can execute in its current state.

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns:

bool

true if this command can be executed; otherwise, false.

Overrides: RadSheetEditorCommandBase<RadWorksheetEditor>.CanExecuteOverride(object)

Defines the method to be called when the command is invoked.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Overrides: RadSheetEditorCommandBase<RadWorksheetEditor>.ExecuteOverride(object)