Check Method (WPFMenuBase)

Class

WPFMenuBase class

Action

Checks a menu item.

Syntax

menuBase.Check(item)
Variable Description
item The menu item to check. Can be either a top-level menu item or a menu item that can be found in a submenu. For checking 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

// Check the menu item 'Word Wrap' from the 'Format' menu
menu.Check("Format/Word Wrap")