C# Class FastColoredTextBoxNS.AutocompleteListView

Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: samarjeet27/ynoteclassic Class Usage Examples

Private Properties

Property Type Description
AdjustScroll void
AutocompleteListView System
DoAutocomplete void
DoAutocomplete void
DoAutocomplete void
DoSelectedVisible void
OnSelecting void
PointToItemIndex int
ProcessKey bool
ResetTimer void
SetToolTip void
tb_KeyDown void
tb_KeyPressed void
tb_SelectionChanged void
timer_Tick void

Public Methods

Method Description
AddItem ( AutocompleteItem item ) : void
SelectNext ( int shift ) : void
SetAutocompleteItems ( ICollection items ) : void
SetAutocompleteItems ( IList items ) : void

Protected Methods

Method Description
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
AdjustScroll ( ) : void
AutocompleteListView ( FastColoredTextBox tb ) : System
DoAutocomplete ( ) : void
DoAutocomplete ( AutocompleteItem item, Range fragment ) : void
DoAutocomplete ( bool forced ) : void
DoSelectedVisible ( ) : void
OnSelecting ( ) : void
PointToItemIndex ( Point p ) : int
ProcessKey ( Keys keyData, Keys keyModifiers ) : bool
ResetTimer ( Timer timer ) : void
SetToolTip ( AutocompleteItem autocompleteItem ) : void
tb_KeyDown ( object sender, KeyEventArgs e ) : void
tb_KeyPressed ( object sender, KeyPressEventArgs e ) : void
tb_SelectionChanged ( object sender, EventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

AddItem() public method

public AddItem ( AutocompleteItem item ) : void
item AutocompleteItem
return void

OnMouseClick() protected method

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnScroll() protected method

protected OnScroll ( ScrollEventArgs se ) : void
se System.Windows.Forms.ScrollEventArgs
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
return bool

SelectNext() public method

public SelectNext ( int shift ) : void
shift int
return void

SetAutocompleteItems() public method

public SetAutocompleteItems ( ICollection items ) : void
items ICollection
return void

SetAutocompleteItems() public method

public SetAutocompleteItems ( IList items ) : void
items IList
return void