MenuItem
MenuItem()
MenuItem(String)
MenuItem(String, EventHandler)
MenuItem(String, MenuItem[])
MenuItem(String, EventHandler, Shortcut)
MenuItem(MenuMerge, Int32, Shortcut, String, EventHandler, EventHandler, EventHandler, MenuItem[])
BarBreak
Break
Checked
DefaultItem
Enabled
Index
IsParent
MdiList
MenuID
MergeOrder
MergeType
Mnemonic
OwnerDraw
Parent
RadioCheck
Shortcut
ShowShortcut
Text
Visible
CloneMenu()
CloneMenu(MenuItem)
Dispose(Boolean)
MergeMenu()
MergeMenu(MenuItem)
OnClick(EventArgs)
OnDrawItem(DrawItemEventArgs)
OnInitMenuPopup(EventArgs)
OnMeasureItem(MeasureItemEventArgs)
OnPopup(EventArgs)
OnSelect(EventArgs)
PerformClick()
PerformSelect()
ToString()
Click
DrawItem
MeasureItem
Popup
Select
net10.0-windows10.0.22621
namespace System.Windows.Forms
{
[Browsable(false)]
[DefaultEvent("Click")]
[DefaultProperty("Text")]
[DesignTimeVisible(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("`Menu` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `ToolStripDropDown` and `ToolStripDropDownMenu` instead.", false, DiagnosticId = "WFDEV006", UrlFormat = "https://aka.ms/winforms-warnings/{0}")]
[ToolboxItem(false)]
public class MenuItem : Menu
}
| nuget.org | 0.1 % Reference this API 0.0 % Derive from this class or interface |
|---|---|
| .NET | 10.0 |
| .NET Core | 3.0 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.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 net10.0-windows10.0.22621 | |
| Assembly | System.Windows.Forms , Version=10.0.0.0, PublicKeyToken=b77a5c561934e089 |
| Referencing | Your project needs to set |
| Obsolete | WFDEV006: `Menu` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `ToolStripDropDown` and `ToolStripDropDownMenu` instead. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API