C# Class YamuiFramework.Controls.YamuiComboBox

Inheritance: System.Windows.Forms.ComboBox
Afficher le fichier Open project: jcaillon/3P

Private Properties

Свойство Type Description
CreatePen System.IntPtr
DeleteObject bool
DrawTextPrompt void
ExcludeClipRect int
GetComboBoxInfo bool
GetWindowDC System.IntPtr
GetWindowRect bool
OnPaintForeground void
PaintTransparentBackground void
Rectangle void
ReleaseDC int
SelectObject System.IntPtr
SetFocus System.IntPtr
dropDownCheck_Tick void

Méthodes publiques

Méthode Description
DrawNativeBorder ( IntPtr handle ) : void

Non client area border drawing

GetControlListBoxMessage ( IntPtr handle ) : Message

Creates a default WM_CTLCOLORLISTBOX message

GetListHandle ( IntPtr handle ) : IntPtr

Gets the list control of a combo box

GetPreferredSize ( Size proposedSize ) : Size
RGB ( int R, int G, int B ) : int
YamuiComboBox ( ) : System

Méthodes protégées

Méthode Description
OnDrawItem ( DrawItemEventArgs e ) : void
OnDropDown ( EventArgs e ) : void

On drop down

OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Méthode Description
CreatePen ( PenStyles enPenStyle, int nWidth, int crColor ) : IntPtr
DeleteObject ( IntPtr hObject ) : bool
DrawTextPrompt ( Graphics g ) : void
ExcludeClipRect ( IntPtr hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : int
GetComboBoxInfo ( IntPtr hWnd, COMBOBOXINFO &pcbi ) : bool
GetWindowDC ( IntPtr hWnd ) : IntPtr
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
OnPaintForeground ( PaintEventArgs e ) : void
PaintTransparentBackground ( Graphics graphics, Rectangle clipRect ) : void
Rectangle ( IntPtr hdc, int X1, int Y1, int X2, int Y2 ) : void
ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int
SelectObject ( IntPtr hdc, IntPtr hObject ) : IntPtr
SetFocus ( IntPtr hWnd ) : IntPtr
dropDownCheck_Tick ( object sender, EventArgs e ) : void

Checks when the drop down is fully visible

Method Details

DrawNativeBorder() public méthode

Non client area border drawing
public DrawNativeBorder ( IntPtr handle ) : void
handle System.IntPtr The handle to the control
Résultat void

GetControlListBoxMessage() public méthode

Creates a default WM_CTLCOLORLISTBOX message
public GetControlListBoxMessage ( IntPtr handle ) : Message
handle System.IntPtr The drop down handle
Résultat System.Windows.Forms.Message

GetListHandle() public static méthode

Gets the list control of a combo box
public static GetListHandle ( IntPtr handle ) : IntPtr
handle System.IntPtr Handle of the combo box itself
Résultat System.IntPtr

GetPreferredSize() public méthode

public GetPreferredSize ( Size proposedSize ) : Size
proposedSize System.Drawing.Size
Résultat System.Drawing.Size

OnDrawItem() protected méthode

protected OnDrawItem ( DrawItemEventArgs e ) : void
e System.Windows.Forms.DrawItemEventArgs
Résultat void

OnDropDown() protected méthode

On drop down
protected OnDropDown ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnEnter() protected méthode

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnLeave() protected méthode

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnSelectedIndexChanged() protected méthode

protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

RGB() public static méthode

public static RGB ( int R, int G, int B ) : int
R int
G int
B int
Résultat int

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void

YamuiComboBox() public méthode

public YamuiComboBox ( ) : System
Résultat System