LocalText.Literal field
An empty local text key, which tells that a text is shown as it is, e.g. a text that is a name. Set it as the TextKey of a text attribute, e.g. [DisplayText("Acme Corporation", TextKey = LocalText.Literal)], so that the text is neither used as a key nor registered under the key that its type implies for it, e.g. Forms.….Field. A key that is not set is different: the text then takes the implied key, so it can be translated. An empty key is also no key in the texts of the members of an enum and the items of a select editor.
public const string Literal;
See Also
- class LocalText