Compartilhar via


ButtonText element

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This field lets you specify the text that appears in various menus. By default, the ButtonText element appears in menu controllers. The ButtonText element also becomes the default if the other text fields are blank. The ButtonText element cannot be blank even if the other text fields are specified.

Syntax

<ButtonText>My Command</ButtonText>

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

None.

Parent elements

Element Description
Strings Element Groups text elements, such as ButtonText and CommandName.

Text value

The text value of the ButtonText element provides the text that is displayed for menu items, combos, and other user interface (UI) elements that have visible text.

See also