Table of Contents

Method ActivateSelectedObjectIfAny

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ActivateSelectedObjectIfAny(ICommandContext)

Triggers the ObjectActivated event with the SelectedObject.

This method also ensures that the selected object is visible.

public bool? ActivateSelectedObjectIfAny(ICommandContext commandContext)

Parameters

commandContext ICommandContext

Returns

bool?

true if ObjectActivated was fired.