Uncheck Method (WPFMenuBase)

Class

WPFMenuBase.

Action

Unchecks a menu item.

Syntax

C#
menuBase.Uncheck(item)
VB
menuBase.Uncheck(item)
Variable Description
item The menu item to uncheck. Can be either a top-level menu item or a menu item that can be found in a submenu. For unchecking 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

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