Select Method (WPFMenuBase)

Class

WPFMenuBase class

Action

Selects a menu item.

Syntax

menuBase.Select(item)
Variable Description
item The menu item to select. Can be either a top-level menu item or a menu item that can be found in a submenu. For selecting a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters). LISTITEM.

Examples

// Select the 'Open' menu item from the 'File' menu
menu.Select("File/Open")