C# Class SIL.FieldWorks.Common.Widgets.DropDownButton

Inheritance: System.Windows.Forms.Button
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DropDownButton ( FwComboBoxBase comboBox ) : System

Initializes a new instance of the DropDownButton class.

NotifyDefault ( bool value ) : void

Notifies the T:System.Windows.Forms.Button whether it is the default button so that it can adjust its appearance accordingly.

Protected Methods

Method Description
OnGotFocus ( EventArgs e ) : void

OnLostFocus ( EventArgs e ) : void

OnMouseDown ( MouseEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.MouseDown event.

OnMouseEnter ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Control.MouseEnter event.

OnMouseLeave ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Control.MouseLeave event.

OnMouseUp ( MouseEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.MouseUp event.

OnPaint ( PaintEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.Paint event.

Method Details

DropDownButton() public method

Initializes a new instance of the DropDownButton class.
public DropDownButton ( FwComboBoxBase comboBox ) : System
comboBox FwComboBoxBase The combo box.
return System

NotifyDefault() public method

Notifies the T:System.Windows.Forms.Button whether it is the default button so that it can adjust its appearance accordingly.
public NotifyDefault ( bool value ) : void
value bool true if the button is to have the appearance of the default button; otherwise, false.
return void

OnGotFocus() protected method

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

OnLostFocus() protected method

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

OnMouseDown() protected method

Raises the E:System.Windows.Forms.Control.MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
return void

OnMouseEnter() protected method

Raises the E:System.Windows.Forms.Control.MouseEnter event.
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnMouseLeave() protected method

Raises the E:System.Windows.Forms.Control.MouseLeave event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnMouseUp() protected method

Raises the E:System.Windows.Forms.Control.MouseUp event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
return void

OnPaint() protected method

Raises the E:System.Windows.Forms.Control.Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
return void