C# Class System.Windows.Forms.ComboBox

Inheritance: ListControl
Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
AddItemsCore void
Draw void
DrawItemInternal void
DropDownListBox void
DropDownListBoxFinished void
FindMatchOrSetIndex void
FindStringCaseInsensitive int
FindStringCaseInsensitive int
FindStringExact int
HandleDrawItem void
IsInputCharInternal bool
LayoutComboBox void
OnAutoCompleteCustomSourceChanged void
OnGotFocus void
OnKeyDown void
OnLostFocus void
OnMouseDownCB void
OnPaintInternal void
OnTextBoxClick void
OnTextChanged void
OnTextChangedEdit void
OnValidating void
RestoreContextMenu void
SetBoundsInternal void
SetControlText void
SetControlText void
SetSelectedIndex void
SetTextBoxAutoCompleteData void
UpdateComboBoxBounds void
UpdatedItems void

Public Methods

Method Description
BeginUpdate ( ) : void
ComboBox ( ) : System.Collections
EndUpdate ( ) : void
FindString ( string s ) : int
FindString ( string s, int startIndex ) : int
FindStringExact ( string s ) : int
FindStringExact ( string s, int startIndex ) : int
GetItemHeight ( int index ) : int
ResetText ( ) : void
Select ( int start, int length ) : void
SelectAll ( ) : void
ToString ( ) : string

Protected Methods

Method Description
CreateHandle ( ) : void
IsInputKey ( Keys keyData ) : bool
OnBackColorChanged ( EventArgs e ) : void
OnDisplayMemberChanged ( EventArgs e ) : void
OnDrawItem ( DrawItemEventArgs e ) : void
OnDropDown ( EventArgs e ) : void
OnDropDownClosed ( EventArgs e ) : void
OnDropDownStyleChanged ( EventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnForeColorChanged ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnParentBackColorChanged ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
OnSelectedItemChanged ( EventArgs e ) : void
OnSelectedValueChanged ( EventArgs e ) : void
OnSelectionChangeCommitted ( EventArgs e ) : void
OnTextUpdate ( EventArgs e ) : void
ProcessKeyEventArgs ( Message &m ) : bool
RefreshItem ( int index ) : void
RefreshItems ( ) : void
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
SetItemCore ( int index, object value ) : void
SetItemsCore ( IList value ) : void

Private Methods

Method Description
AddItemsCore ( object value ) : void
Draw ( Rectangle clip, Graphics dc ) : void
DrawItemInternal ( DrawItemEventArgs e ) : void
DropDownListBox ( ) : void
DropDownListBoxFinished ( ) : void
FindMatchOrSetIndex ( int index ) : void
FindStringCaseInsensitive ( string search ) : int
FindStringCaseInsensitive ( string search, int start_index ) : int
FindStringExact ( string s, int startIndex, bool ignoreCase ) : int
HandleDrawItem ( DrawItemEventArgs e ) : void
IsInputCharInternal ( char charCode ) : bool
LayoutComboBox ( ) : void
OnAutoCompleteCustomSourceChanged ( object sender, CollectionChangeEventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDownCB ( object sender, MouseEventArgs e ) : void
OnPaintInternal ( PaintEventArgs pevent ) : void
OnTextBoxClick ( object sender, EventArgs e ) : void
OnTextChanged ( EventArgs e ) : void
OnTextChangedEdit ( object sender, EventArgs e ) : void
OnValidating ( CancelEventArgs e ) : void
RestoreContextMenu ( ) : void
SetBoundsInternal ( int x, int y, int width, int height, BoundsSpecified specified ) : void
SetControlText ( string s, bool suppressTextChanged ) : void
SetControlText ( string s, bool suppressTextChanged, bool supressAutoScroll ) : void
SetSelectedIndex ( int value, bool supressAutoScroll ) : void
SetTextBoxAutoCompleteData ( ) : void
UpdateComboBoxBounds ( ) : void
UpdatedItems ( ) : void

Method Details

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

ComboBox() public method

public ComboBox ( ) : System.Collections
return System.Collections

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

EndUpdate() public method

public EndUpdate ( ) : void
return void

FindString() public method

public FindString ( string s ) : int
s string
return int

FindString() public method

public FindString ( string s, int startIndex ) : int
s string
startIndex int
return int

FindStringExact() public method

public FindStringExact ( string s ) : int
s string
return int

FindStringExact() public method

public FindStringExact ( string s, int startIndex ) : int
s string
startIndex int
return int

GetItemHeight() public method

public GetItemHeight ( int index ) : int
index int
return int

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnBackColorChanged() protected method

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

OnDisplayMemberChanged() protected method

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

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e DrawItemEventArgs
return void

OnDropDown() protected method

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

OnDropDownClosed() protected method

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

OnDropDownStyleChanged() protected method

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

OnFontChanged() protected method

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

OnForeColorChanged() protected method

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

OnHandleCreated() protected method

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

OnHandleDestroyed() protected method

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

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
return void

OnMeasureItem() protected method

protected OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
e System.Windows.Forms.MeasureItemEventArgs
return void

OnMouseEnter() protected method

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

OnMouseLeave() protected method

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

OnParentBackColorChanged() protected method

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

OnResize() protected method

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

OnSelectedIndexChanged() protected method

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

OnSelectedItemChanged() protected method

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

OnSelectedValueChanged() protected method

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

OnSelectionChangeCommitted() protected method

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

OnTextUpdate() protected method

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

ProcessKeyEventArgs() protected method

protected ProcessKeyEventArgs ( Message &m ) : bool
m Message
return bool

RefreshItem() protected method

protected RefreshItem ( int index ) : void
index int
return void

RefreshItems() protected method

protected RefreshItems ( ) : void
return void

ResetText() public method

public ResetText ( ) : void
return void

ScaleControl() protected method

protected ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
factor System.Drawing.SizeF
specified BoundsSpecified
return void

Select() public method

public Select ( int start, int length ) : void
start int
length int
return void

SelectAll() public method

public SelectAll ( ) : void
return void

SetItemCore() protected method

protected SetItemCore ( int index, object value ) : void
index int
value object
return void

SetItemsCore() protected method

protected SetItemsCore ( IList value ) : void
value IList
return void

ToString() public method

public ToString ( ) : string
return string