[]
This method returns a Boolean value that determines whether the controller can execute the command.
[Json("canExecuteCommand")]
[JsonConverter(typeof(FunctionConverter))]
public string CanExecuteCommand { get; set; }
<Json("canExecuteCommand")>
<JsonConverter(GetType(FunctionConverter))>
Public Property CanExecuteCommand As String
If this method returns false, the menu option is disabled.