Check Method (WPFMenuBase)

Class

WPFMenuBase.

Action

Checks a menu item.

Syntax

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

Examples

VB

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