Back to API Reference
Struct
TextMenuEntry
sealed
One entry of a presented text context menu. A TextContextMenu receives the entries in the field's order and reports an invoked one by its index.
public TextCommandSource Source{ get }The command that contributed the entry — what a menu matches to show the command on an item of its own.
public Nullable<StandardEditCommand> Standard{ get }The standard command the entry runs, which a system menu shows as its own localized item; null for every other command and for a standard command given a title of its own.
Whether the entry's effect is on at the selection (TextCommand.IsActive) — a Toggle presenting the entry shows it.
Whether the entry's command applies to the field (TextCommand.IsApplicable). A menu shows a disabled entry disabled or not at all and never invokes it; the system menus leave it out.
