Skip to content

MenuItem.Text property

Gets or sets this placement’s presentation text override, in which a single underscore marks the following character as the access key.

public string Text { get; set; }

When this property has no value source, the command’s default presentation supplies the text; an explicitly assigned empty string remains empty.

Fluent: .Text(String)