Docsv3.31.0
Back to API Reference
Class

FixedCommandTitle

sealed
Implements:ICommandTitle

Command title that reads the same in every language.

public string Text{ get; set }

The title; empty shows the command's default title.

[ctor]public FixedCommandTitle()

Creates an empty title, which shows the command's default title.

[ctor]public FixedCommandTitle(string text)

Creates a title reading text.

public Action Changed

Raised on the main thread when Text changes — after an edit, or on a language switch — so a menu showing the title presents it again. An implementation raises it for every such change.