ButtonText Element

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at ButtonText Element.

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.

<ButtonText>My Command</ButtonText>  

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

Attributes

None.

Child Elements

None.

Parent Elements

ElementDescription
Strings ElementGroups text elements, such as ButtonText and CommandName.

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.

Visual Studio Command Table (.Vsct) Files

Show: