C# Class Alsing.Windows.Forms.SyntaxBox.AutoListForm

Inheritance: System.Windows.Forms.Form
Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
Images System.Windows.Forms.ImageList

Public Methods

Method Description
Add ( string text, int ImageIndex ) : ListItem

Adds a new ListItem to the AutoListForm.

Add ( string text, string InsertText, int ImageIndex ) : ListItem

Adds a new ListItem to the AutoListForm.

Add ( string text, string InsertText, string ToolTip, int ImageIndex ) : ListItem
AutoListForm ( ) : System

Default AltoListControl constructor.

BeginLoad ( ) : void
Clear ( ) : void

Clears the content of the AutoList.

EndLoad ( ) : void
SelectItem ( string text ) : void
SendKey ( int KeyCode ) : void

Protected Methods

Method Description
IsInputChar ( char charCode ) : bool

For public use only.

IsInputKey ( Keys keyData ) : bool

For public use only.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
AutoListForm_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LB_DoubleClick ( object sender, EventArgs e ) : void
LB_DrawItem ( object sender, DrawItemEventArgs e ) : void
LB_KeyDown ( object sender, KeyEventArgs e ) : void
LB_KeyPress ( object sender, KeyPressEventArgs e ) : void
LB_KeyUp ( object sender, KeyEventArgs e ) : void
LB_MouseDown ( object sender, MouseEventArgs e ) : void
LB_MouseMove ( object sender, MouseEventArgs e ) : void
LB_SelectedIndexChanged ( object sender, EventArgs e ) : void
SelectItem ( int x, int y ) : void
SendMessage ( IntPtr hWnd, int message, int _data, int _id ) : int

Method Details

Add() public method

Adds a new ListItem to the AutoListForm.
public Add ( string text, int ImageIndex ) : ListItem
text string Text of the new ListItem
ImageIndex int Image index that should be assigned to the new ListItem
return ListItem

Add() public method

Adds a new ListItem to the AutoListForm.
public Add ( string text, string InsertText, int ImageIndex ) : ListItem
text string Text of the new ListItem
InsertText string text to insert when this item is selected
ImageIndex int Image index that should be assigned to the new ListItem
return ListItem

Add() public method

public Add ( string text, string InsertText, string ToolTip, int ImageIndex ) : ListItem
text string
InsertText string
ToolTip string
ImageIndex int
return ListItem

AutoListForm() public method

Default AltoListControl constructor.
public AutoListForm ( ) : System
return System

BeginLoad() public method

public BeginLoad ( ) : void
return void

Clear() public method

Clears the content of the AutoList.
public Clear ( ) : void
return void

EndLoad() public method

public EndLoad ( ) : void
return void

IsInputChar() protected method

For public use only.
protected IsInputChar ( char charCode ) : bool
charCode char
return bool

IsInputKey() protected method

For public use only.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnPaint() protected method

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

SelectItem() public method

public SelectItem ( string text ) : void
text string
return void

SendKey() public method

public SendKey ( int KeyCode ) : void
KeyCode int
return void

Property Details

Images public property

The imagelist that should be used by the AutoListForm
public ImageList,System.Windows.Forms Images
return System.Windows.Forms.ImageList