Displays a menu item in the InfoPath View menu and adds a check mark next to the item when it is in use.
|view||Contains information about an InfoPath view.|
The showMenuItem attribute is an optional attribute of the view element. The default value is "yes".
If the showMenuItem attribute for a menu item in the View menu is set to "yes", the item appears in the View menu and has a check mark next to it when it is in use. The menu item appears with the caption that has been defined for it and in the order specified in the form definition file (.xsf). If the showMenuItem attribute is not present or is set to "no", the menu item does not appear in the View menu. Users can still add items to the View menu by customizing it, but such items will not display a check mark when they are in use.
The following is an example of the showMenuItem attribute as it is used in the view element: