Skip to main content
A newer version of this page is available. .

DiagramCommandsBase.CanExecute<T>(DiagramCommand<T>, T) Method

Gets whether the specified command can be executed in its current state.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v19.1.Core.dll

Declaration

public bool CanExecute<T>(
    DiagramCommand<T> command,
    T parameter
)

Parameters

Name Type Description
command DevExpress.Diagram.Core.DiagramCommand<T>

A DevExpress.Diagram.Core.DiagramCommand object.

parameter T

A command’s parameter.

Type Parameters

Name
T

Returns

Type Description
Boolean

true if the specified command can be executed; otherwise, false.

See Also