C# Class System.Windows.Forms.CommandBarContextMenu.MenuBarItem

Inheritance: MenuItem
Show file Open project: Longkong/Pojjaman

Private Properties

Property Type Description
DrawBackground void
DrawCheck void
DrawImage void
DrawText void
UpdateItems void

Public Methods

Method Description
MenuBarItem ( CommandBarItem item, Size imageSize, Font font, bool mnemonics ) : System

Protected Methods

Method Description
OnClick ( EventArgs e ) : void
OnDrawItem ( DrawItemEventArgs e ) : void
OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
OnPopup ( EventArgs e ) : void
OnSelect ( EventArgs e ) : void

Private Methods

Method Description
DrawBackground ( Graphics graphics, Rectangle rectangle, bool selected ) : void
DrawCheck ( Graphics graphics, Rectangle rectangle, Color color ) : void
DrawImage ( Graphics graphics, Rectangle bounds, bool selected, bool disabled ) : void
DrawText ( System.Windows.Forms.TextGraphics textGraphics, string text, Point point, bool selected, bool disabled ) : void
UpdateItems ( ) : void

Method Details

MenuBarItem() public method

public MenuBarItem ( CommandBarItem item, Size imageSize, Font font, bool mnemonics ) : System
item CommandBarItem
imageSize System.Drawing.Size
font System.Drawing.Font
mnemonics bool
return System

OnClick() protected method

protected OnClick ( EventArgs e ) : void
e System.EventArgs
return void

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e DrawItemEventArgs
return void

OnMeasureItem() protected method

protected OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
e System.Windows.Forms.MeasureItemEventArgs
return void

OnPopup() protected method

protected OnPopup ( EventArgs e ) : void
e System.EventArgs
return void

OnSelect() protected method

protected OnSelect ( EventArgs e ) : void
e System.EventArgs
return void