Class ToolStripMenuItem
Defined in order to make library more compatible with the legacy code.
public class ToolStripMenuItem : MenuItem, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo, ICommandSource
- Inheritance
-
ToolStripMenuItem
- Implements
Constructors
- ToolStripMenuItem()
Initializes a new instance of the MenuItem class.
- ToolStripMenuItem(string)
Initializes a new instance of the MenuItem class with the specified
text
for the menu item.
- ToolStripMenuItem(string, Image, EventHandler)
Initializes a new instance of the MenuItem class that displays the specified text and image and that does the specified action when the MenuItem is clicked.
- ToolStripMenuItem(string, KeyGesture)
Initializes a new instance of the MenuItem class with the specified
text
andshortcut
for the menu item.
- ToolStripMenuItem(string, Action?)
Initializes a new instance of the MenuItem class with the specified
text
andonClick
for the menu item.
- ToolStripMenuItem(string, Action?, KeyGesture?)
Initializes a new instance of the MenuItem class with the specified
text
,onClick
andshortcut
for the menu item.
- ToolStripMenuItem(string, EventHandler?, KeyGesture?)
Initializes a new instance of the MenuItem class with the specified
text
,onClick
andshortcut
for the menu item.