MenuStrip Properties in VB.NET
MenuStrip Properties, Methods and Events used in VB.NET.
Explanation
Menustrip Properties
Following table lists the Properties, Methods, Events used commonly with the Menustrip Control in Visual Basic.net 2008.
Properties:
Properties |
Description |
AccessibleDescription |
Property gets or sets the description of the control used by accessibility client applications. |
AccessibleName |
Property gets or sets the name of the control used by accessibility client applications.. |
AccessibleRole |
Property gets or sets the accessible role of the control. |
BackColor |
Property used to Get or set background color for the control. |
AllowDrop |
Property used to Get or set whether item drag, drop, item reordering is done through custom events. |
AllowItemReorder |
Property used to set or get whether item drag, drop, item reordering is done through toolstrip class. |
AllowMerge |
Property to used to indicate whether multiple menustrip, toolstripdropdownmenu, toolstripmenuitem and
other types can be combined. |
ContextMenuStrip |
Property to used to set or get the context menu strip associated with this control. |
Enabled |
Property used to set or get whether the control can be used. |
ImeMode |
Property used to set or get input method editor mode of the control. |
MdiWindowListItem |
Property used to set or get ToolStripMenuItem used to display a list of MDI child forms. |
ShowItemToolTips |
Property used to set or get the tooltip text for the control. |
TabIndex |
Property used to set or get the tabindex within its container. |
Items |
Property used to get all the items. |
AutoSize |
Property used to set or get a value indicating whether the control is automatically resized to the text. |
Dock |
Property used to set or get the borders to be docked with the parent control. |
GripMargin |
Property used to set or get the space around the control. |
LayoutStyle |
Property used to set or get a value how to layout the items. |
Padding |
Property used to set or get padding within the control. |
Stretch |
Property used to set or get a value specifiying whether the control streches within the container. |
Methods:
Method |
Description |
GetItemAt |
Method used to returns the item located at the specified point or coordinates. |
GetNextControl |
Method get the next control backward or forward in the tab order of child controls. |
GetNextItem |
Method used to get the next item from the control. |
Hide |
Method used to hide the control. |
Show |
Method used to show the control. |
Focus |
Method used to set the focus to the control. |
Refresh |
Methods used to force the control to invalidate its client area . |
Events:
Events |
Description |
Click |
Triggered when the control is clicked. |
CursorChanged |
Triggered when the cursor property is changed. |
DoubleClick |
Triggered when the control is double clicked. |
DragDrop |
Triggered when the drag drop operation is completed. |
Enter |
Triggered when the control is entered. |
Leave |
Triggered when the input focus leaves the control. |
MenuActivate |
Triggered when the menus acceses using the mouse or keyboard. |
MouseClick |
Triggered when the control is clicked using a mouse. |
MouseDoubleClick |
Triggered when the control is double clicked using a mouse. |
MouseDown |
Triggered when the mouse button is pressed. |
MouseEnter |
Triggered when the mouse enters the control. |
MouseHover |
Triggered when the control is hovered by a mouse. |
MouseLeave |
Triggered when the mouse pointer leaves the control. |
MouseMove |
Triggered when the mouse pointer is moved over the control. |
Scroll |
Triggered when the user or the code is used to scroll the control. |
TabIndexChanged |
Triggered when the user tabindex value is changed. |
VisibleChanged |
Triggered when the visible property value is changed. |