Property CanExecute | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
CanExecute
Gets or sets the action to be invoked to determine if the menu can be triggered. If CanExecutereturns true the menu item will be enabled. Otherwise, it will be disabled.
public Func<bool>? CanExecute { get; set; }
Property Value
Function to determine if the action is can be executed or not.