Skip to main content

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.v24.2.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