C# Class System.Windows.Forms.MenuTracker

ファイルを表示 Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Properties

Property Type Description
CurrentMenu Menu
GrabControl Control
TopMenu Menu

Public Methods

Method Description
AddShortcuts ( MenuItem item ) : void
HideSubPopups ( Menu menu, Menu topmenu ) : void
MenuTracker ( Menu top_menu ) : System.Collections
OnMotion ( MouseEventArgs args ) : void
OnMouseDown ( MouseEventArgs args ) : bool
OnMouseUp ( MouseEventArgs args ) : void
RemoveShortcuts ( MenuItem item ) : void
TrackPopupMenu ( Menu menu, Point pnt ) : bool

Private Methods

Method Description
Deactivate ( ) : void
DeselectItem ( MenuItem item ) : void
ExecFocusedItem ( Menu menu, MenuItem item ) : void
FindItemByCoords ( Menu menu, Point pt ) : MenuItem
FindItemByKey ( Menu menu, IntPtr key ) : MenuItem
FindSubItemByCoord ( Menu menu, Point pnt ) : MenuItem
GetItemAtXY ( int x, int y ) : MenuItem
GetNextItem ( Menu menu, ItemNavigation navigation ) : MenuItem
ProcessShortcut ( Keys keyData ) : bool
ScreenToMenu ( Menu menu, Point pnt ) : Point
SelectItem ( Menu menu, MenuItem item, bool execute ) : void
ShowSubPopup ( Menu menu, MenuItem item ) : void
UpdateCursor ( ) : void

Method Details

AddShortcuts() public method

public AddShortcuts ( MenuItem item ) : void
item MenuItem
return void

HideSubPopups() static public method

static public HideSubPopups ( Menu menu, Menu topmenu ) : void
menu Menu
topmenu Menu
return void

MenuTracker() public method

public MenuTracker ( Menu top_menu ) : System.Collections
top_menu Menu
return System.Collections

OnMotion() public method

public OnMotion ( MouseEventArgs args ) : void
args MouseEventArgs
return void

OnMouseDown() public method

public OnMouseDown ( MouseEventArgs args ) : bool
args MouseEventArgs
return bool

OnMouseUp() public method

public OnMouseUp ( MouseEventArgs args ) : void
args MouseEventArgs
return void

RemoveShortcuts() public method

public RemoveShortcuts ( MenuItem item ) : void
item MenuItem
return void

TrackPopupMenu() static public method

static public TrackPopupMenu ( Menu menu, Point pnt ) : bool
menu Menu
pnt System.Drawing.Point
return bool

Property Details

CurrentMenu public_oe property

public Menu,System.Windows.Forms CurrentMenu
return Menu

GrabControl public_oe property

public Control,System.Windows.Forms GrabControl
return Control

TopMenu public_oe property

public Menu,System.Windows.Forms TopMenu
return Menu