Table of Contents

Interface IGridHandler

Namespace
Tripous.Desktop
Assembly
Tripous.Desktop.dll

Provides commands and executes them for a grid.

public interface IGridHandler
Extension Methods

Methods

CanExecute(GridCommandContext)

Returns true when a grid command can execute.

bool CanExecute(GridCommandContext Context)

Parameters

Context GridCommandContext

The grid command context.

Returns

bool

True if the command can execute; otherwise, false.

Execute(GridCommandContext)

Executes a grid command.

object Execute(GridCommandContext Context)

Parameters

Context GridCommandContext

The grid command context.

Returns

object

The command result.

GetGridCommands()

Returns the grid commands provided by this handler.

GridCommand[] GetGridCommands()

Returns

GridCommand[]

The grid commands.