Skip to main content
All docs
V23.2
Bar

BarItemCommand.CanExecute(Object) Method

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

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool CanExecute(
    object parameter
)

Parameters

Name Type Description
parameter Object

Data used by the command. If the command does not require data, pass null as this parameter.

Returns

Type Description
Boolean

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

See Also