Table of Contents

Method AssignHotKeysToSubViews

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

AssignHotKeysToSubViews()

Assigns unique hotkeys to all subviews that have a Title but no HotKey defined. Called automatically when AssignHotKeys is enabled and subviews are added.

public void AssignHotKeysToSubViews()

Remarks

This method iterates through all subviews and assigns hotkeys based on their Title. It respects pre-existing hotkeys defined via the HotKeySpecifier in the title.

Override this method to customize the hotkey assignment behavior.