[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MenuCommandBuilder.CanExecuteCommand

CanExecuteCommand Method

CanExecuteCommand(string)

Configurates CanExecuteCommand. This method returns a Boolean value that determines whether the controller can execute the command.

Declaration
public MenuCommandBuilder CanExecuteCommand(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
MenuCommandBuilder

Current builder.

Remarks

If this method returns false, the menu option is disabled.