C# Class XRefresh.MenuExtender

Inheritance: System.ComponentModel.Component, IExtenderProvider
Mostra file Open project: binaryage/xrefresh Class Usage Examples

Private Properties

Property Type Description
GetExtEnable bool
GetImageIndex int
GetMenuImageIndex int
OnDrawItem void
OnMeasureItem void

Public Methods

Method Description
CanExtend ( object component ) : bool
MenuExtender ( ) : System
MenuExtender ( System container ) : System
ResetFont ( ) : void
SetExtEnable ( Component component, bool enableExt ) : void
SetImageIndex ( Component component, int indexValue ) : void

Private Methods

Method Description
GetExtEnable ( Component component ) : bool
GetImageIndex ( Component component ) : int
GetMenuImageIndex ( Component component ) : int
OnDrawItem ( object sender, DrawItemEventArgs e ) : void
OnMeasureItem ( object sender, System.Windows.Forms.MeasureItemEventArgs e ) : void

Method Details

CanExtend() public method

public CanExtend ( object component ) : bool
component object
return bool

MenuExtender() public method

public MenuExtender ( ) : System
return System

MenuExtender() public method

public MenuExtender ( System container ) : System
container System
return System

ResetFont() public method

public ResetFont ( ) : void
return void

SetExtEnable() public method

public SetExtEnable ( Component component, bool enableExt ) : void
component System.ComponentModel.Component
enableExt bool
return void

SetImageIndex() public method

public SetImageIndex ( Component component, int indexValue ) : void
component System.ComponentModel.Component
indexValue int
return void