C# Class ZForge.Controls.XPTable.Editors.ColorCellEditor.ColorPicker

Inheritance: System.Windows.Forms.Control
显示文件 Open project: zhuangyy/Motion

Private Properties

Property Type Description
AdjustListBoxItemHeight void
GetSystemColors Color[]
GetWebColors Color[]
OnFontChanged void
OnListClick void
OnListDrawItem void
OnListKeyDown void
OnPalettePick void
OnTabControlResize void
OnTabControlSelChange void
tabControl_GotFocus void

Public Methods

Method Description
ColorPicker ( ColorCellEditor editor ) : System

Initializes a new instance of the ColorPicker class with default settings

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFontChanged ( EventArgs e ) : void

Raises the FontChanged event

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event

OnSelectedColorChanged ( EventArgs e ) : void

Raises the SelectedColorChanged event

Private Methods

Method Description
AdjustListBoxItemHeight ( ) : void

GetSystemColors ( ) : Color[]

GetWebColors ( ) : Color[]

OnFontChanged ( object sender, EventArgs e ) : void

OnListClick ( object sender, EventArgs e ) : void

OnListDrawItem ( object sender, DrawItemEventArgs die ) : void

OnListKeyDown ( object sender, KeyEventArgs ke ) : void

OnPalettePick ( object sender, EventArgs e ) : void

OnTabControlResize ( object sender, EventArgs e ) : void

OnTabControlSelChange ( object sender, EventArgs e ) : void

tabControl_GotFocus ( object sender, EventArgs e ) : void

Method Details

ColorPicker() public method

Initializes a new instance of the ColorPicker class with default settings
public ColorPicker ( ColorCellEditor editor ) : System
editor ColorCellEditor
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnFontChanged() protected method

Raises the FontChanged event
protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
return void

OnGotFocus() protected method

Raises the GotFocus event
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
return void

OnSelectedColorChanged() protected method

Raises the SelectedColorChanged event
protected OnSelectedColorChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
return void