SelectItemAttribute.TextKey property
The local text key of the item, which the editor localizes. When it is not set, an item that has a text takes the key that its form implies for it, e.g. Forms.Namespace.MyForm.Priority_SelectItem_low. An empty string leaves the item as it is, which is what an item whose text is a name, e.g. a company, needs.
public string? TextKey { get; set; }
See Also
- class SelectItemAttribute