C# Class XRefresh.MenuExtender.MenuHelper

Afficher le fichier Open project: binaryage/xrefresh

Méthodes publiques

Méthode Description
CalcHeight ( ) : int
CalcWidth ( ) : int
CurrentBrush ( bool selected ) : SolidBrush
DrawBackground ( Rectangle bounds, bool selected ) : void
DrawMenu ( Rectangle bounds, bool selected, int indexValue ) : void
DrawSeperator ( Rectangle bounds ) : void
HasShortcut ( ) : bool
IsSeperator ( ) : bool
IsTopLevel ( ) : bool
MenuHelper ( MenuItem item, Graphics graphics, MenuExtender ext ) : System

Private Methods

Méthode Description
DrawBullet ( Rectangle rect, bool selected ) : void
DrawCheckBox ( Rectangle bounds, bool selected ) : void
DrawCheckMark ( Rectangle rect, bool selected ) : void
DrawImage ( Image menuImage, Rectangle bounds ) : void
DrawMenuText ( Rectangle bounds, bool selected ) : void

Method Details

CalcHeight() public méthode

public CalcHeight ( ) : int
Résultat int

CalcWidth() public méthode

public CalcWidth ( ) : int
Résultat int

CurrentBrush() public méthode

public CurrentBrush ( bool selected ) : SolidBrush
selected bool
Résultat System.Drawing.SolidBrush

DrawBackground() public méthode

public DrawBackground ( Rectangle bounds, bool selected ) : void
bounds System.Drawing.Rectangle
selected bool
Résultat void

DrawMenu() public méthode

public DrawMenu ( Rectangle bounds, bool selected, int indexValue ) : void
bounds System.Drawing.Rectangle
selected bool
indexValue int
Résultat void

DrawSeperator() public méthode

public DrawSeperator ( Rectangle bounds ) : void
bounds System.Drawing.Rectangle
Résultat void

HasShortcut() public méthode

public HasShortcut ( ) : bool
Résultat bool

IsSeperator() public méthode

public IsSeperator ( ) : bool
Résultat bool

IsTopLevel() public méthode

public IsTopLevel ( ) : bool
Résultat bool

MenuHelper() public méthode

public MenuHelper ( MenuItem item, Graphics graphics, MenuExtender ext ) : System
item System.Windows.Forms.MenuItem
graphics System.Drawing.Graphics
ext MenuExtender
Résultat System