Select Method (WPFMenuBase)

Class

WPFMenuBase.

Action

Selects a menu item.

Syntax

C#
menuBase.Select(item)
VB
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). ItemPath.

Examples

VB

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