Method RaiseSelecting | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
RaiseSelecting(ICommandContext?)
Called when the user has performed an action (e.g. Select) causing the View to change state. Calls OnSelecting(CommandEventArgs) which can be cancelled; if not cancelled raises Accepting. event. The default Select handler calls this method.
protected bool? RaiseSelecting(ICommandContext? ctx)
Parameters
ctx
ICommandContext
Returns
bool?
null if no event was raised; input processing should continue.false if the event was raised and was not handled (or cancelled); input processing should continue.true if the event was raised and handled (or cancelled); input processing should stop.