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.v20.2.Core.dll

Declaration

public bool CanExecute<T>(
    DiagramCommand<T> command,
    T parameter
)
Public Function CanExecute(Of T)(
    command As DiagramCommand(Of T),
    parameter As T
) As Boolean

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