Table of Contents

Property CanExecute

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

CanExecute

Gets or sets the action to be invoked to determine if the StatusItem can be triggered. If CanExecute returns true the status item will be enabled. Otherwise, it will be disabled.

public Func<bool> CanExecute { get; set; }

Property Value

Func<bool>

Function to determine if the action is can be executed or not.