ImageGear for Silverlight
ImGearMenuItem Class Members
See Also  Fields  Properties  Methods  Events Send Feedback
ImageGear20.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace : ImGearMenuItem Class

Glossary Item Box

The following tables list the members exposed by ImGearMenuItem.

Public Constructors

 NameDescription
Public ConstructorImGearMenuItem Constructor Initializes a new instance of the ImGearMenuItem class.  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)CommandParameterProperty Identifies the CommandParameter dependency property.  
Public Fieldstatic (Shared in Visual Basic)CommandProperty Identifies the Command dependency property.  
Public Fieldstatic (Shared in Visual Basic)IconProperty Identifies the Icon dependency property.  
Top

Public Properties

 NameDescription
Public PropertyCommand Gets or sets the command associated with the menu item.  
Public PropertyCommandParameter Gets or sets the parameter to pass to the Command property of a MenuItem.  
Public PropertyIcon Gets or sets the icon that appears in a MenuItem.  
Top

Public Methods

 NameDescription
Public MethodOnApplyTemplateOverridden.  Called when the template's tree is generated.  
Top

Protected Methods

 NameDescription
Protected MethodChangeVisualState Changes to the correct visual state(s) for the control.  
Protected MethodOnClick Called when a MenuItem is clicked and raises a Click event.  
Protected MethodOnGotFocusOverridden.  Invoked whenever an unhandled GotFocus event reaches this element in its route.  
Protected MethodOnItemsChangedOverridden.  Called when the Items property changes.  
Protected MethodOnKeyDownOverridden.  Responds to the KeyDown event.  
Protected MethodOnLostFocusOverridden.  Raises the LostFocus routed event by using the event data that is provided.  
Protected MethodOnMouseEnterOverridden.  Called whenever the mouse enters a MenuItem.  
Protected MethodOnMouseLeaveOverridden.  Called whenever the mouse leaves a MenuItem.  
Protected MethodOnMouseLeftButtonDownOverridden.  Called when the left mouse button is pressed.  
Protected MethodOnMouseRightButtonDownOverridden.  Called when the right mouse button is pressed.  
Top

Public Events

 NameDescription
Public EventClick Occurs when a MenuItem is clicked.  
Top

See Also

©2013. Accusoft Corporation. All Rights Reserved.