net47
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
    {
        [Bindable(true)]
        [Category("Action")]
        public IInputElement CommandTarget { get; set; }
    }
}
NetFx Compat Lab
14.9 %
Reference this API
2.5 %
Get property
14.6 %
Set property
nuget.org
0.1 %
Reference this API
0.0 %
Get property
0.1 %
Set property
Upgrade Planner
0.1 %
Reference this API
0.0 %
Get property
0.1 %
Set property
.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 net47
Assembly

PresentationFramework , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs to set <UseWPF>True</UseWPF>.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙