MenuItem::Checked Event

 

Occurs when a menu item is checked.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event RoutedEventHandler^ Checked {
	void add(RoutedEventHandler^ value);
	void remove(RoutedEventHandler^ value);
}

Identifier field

CheckedEvent

Routing strategy

Bubbling

Delegate

RoutedEventHandler

The following example demonstrates handling the Checked event.

<MenuItem Header="_Bold" IsCheckable="True"
          Checked="Bold_Checked"
          Unchecked="Bold_Unchecked"/>
No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: