ComponentOne ASP.NET MVC Controls
CanExecuteCommand Method

C1.Web.Mvc.Fluent Namespace > MenuCommandBuilder Class : CanExecuteCommand Method
The value.
Configurates C1.Web.Mvc.MenuCommand.CanExecuteCommand. This method returns a Boolean value that determines whether the controller can execute the command.
Syntax
'Declaration
 
Public Function CanExecuteCommand( _
   ByVal value As String _
) As MenuCommandBuilder
public MenuCommandBuilder CanExecuteCommand( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
If this method returns false, the menu option is disabled.
See Also

Reference

MenuCommandBuilder Class
MenuCommandBuilder Members