Context Menu Properties in VB.NET

What are all the Context Menu Properties in VB.NET?

Explanation

Context Menu Properties in VB.NET

Following table lists the Properties, Methods, Events used commonly with the Context Menu Control in Visual Basic.net 2008.
Properties Description
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
Hide Method used to hide the control.
Show Method used to show the control.
Focus Method used to set the focus to the control.
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.
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.
TabIndexChanged Triggered when the user tabindex value is changed.
VisibleChanged Triggered when the visible property value is changed.

Visual Basic Tutorial


Ask Questions

Ask Question