Table of Contents

Method ReplaceHotKeyWithTag

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ReplaceHotKeyWithTag(ustring, int)

Replaces the Rune at the index specified by the hotPos parameter with a tag identifying it as the hotkey.

public ustring ReplaceHotKeyWithTag(ustring text, int hotPos)

Parameters

text ustring

The text to tag the hotkey in.

hotPos int

The Rune index of the hotkey in text.

Returns

ustring

The text with the hotkey tagged.

Remarks

The returned string will not render correctly without first un-doing the tag. To undo the tag, search for