MenuItem
CheckedEvent
ClickEvent
CommandParameterProperty
CommandProperty
CommandTargetProperty
IconProperty
InputGestureTextProperty
IsCheckableProperty
IsCheckedProperty
IsHighlightedProperty
IsPressedProperty
IsSubmenuOpenProperty
IsSuspendingPopupAnimationProperty
ItemContainerTemplateSelectorProperty
RoleProperty
StaysOpenOnClickProperty
SubmenuClosedEvent
SubmenuOpenedEvent
UncheckedEvent
UsesItemContainerTemplateProperty
MenuItem()
Command
CommandParameter
CommandTarget
HandlesScrolling
Icon
InputGestureText
IsCheckable
IsChecked
IsEnabledCore
IsHighlighted
IsPressed
IsSubmenuOpen
IsSuspendingPopupAnimation
ItemContainerTemplateSelector
Role
SeparatorStyleKey
StaysOpenOnClick
SubmenuHeaderTemplateKey
SubmenuItemTemplateKey
TopLevelHeaderTemplateKey
TopLevelItemTemplateKey
UsesItemContainerTemplate
GetContainerForItemOverride()
IsItemItsOwnContainerOverride(Object)
OnAccessKey(AccessKeyEventArgs)
OnApplyTemplate()
OnChecked(RoutedEventArgs)
OnClick()
OnCreateAutomationPeer()
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
OnInitialized(EventArgs)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
OnItemsChanged(NotifyCollectionChangedEventArgs)
OnKeyDown(KeyEventArgs)
OnMouseEnter(MouseEventArgs)
OnMouseLeave(MouseEventArgs)
OnMouseLeftButtonDown(MouseButtonEventArgs)
OnMouseLeftButtonUp(MouseButtonEventArgs)
OnMouseMove(MouseEventArgs)
OnMouseRightButtonDown(MouseButtonEventArgs)
OnMouseRightButtonUp(MouseButtonEventArgs)
OnSubmenuClosed(RoutedEventArgs)
OnSubmenuOpened(RoutedEventArgs)
OnUnchecked(RoutedEventArgs)
OnVisualParentChanged(DependencyObject)
PrepareContainerForItemOverride(DependencyObject, Object)
ShouldApplyItemContainerStyle(DependencyObject, Object)
Checked
Click
SubmenuClosed
SubmenuOpened
Unchecked
net9.0-windows10.0.22621
namespace System.Windows.Controls
{
[DefaultEvent("Click")]
[Localizability(LocalizationCategory.Menu)]
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(MenuItem))]
[TemplatePart(Name = "PART_Popup", Type = typeof(Popup))]
public class MenuItem : HeaderedItemsControl, ICommandSource
{
[Category("Behavior")]
public event RoutedEventHandler Unchecked;
}
}
NetFx Compat Lab | 7.1 %
Reference this API 7.1 %
Subscribe to this event 1.3 %
Unsubscribe from this event |
---|---|
nuget.org | 0.0 %
Reference this API 0.0 %
Subscribe to this event 0.0 %
Unsubscribe from this event |
Upgrade Planner | 0.0 %
Reference this API 0.0 %
Subscribe to this event 0.0 %
Unsubscribe from this event |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | PresentationFramework , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs to set |
Platform Restrictions | The event adder is only supported on the following platforms:
The event remover is only supported on the following platforms:
|
- Built-in API
- Package-provided API