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

Summary description for ListItem.
Inheritance: IComparable
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
InsertText string
Text string
ToolTip string
Type int

Public Methods

Method Description
CompareTo ( object obj ) : int

ListItem ( string text, int type ) : System

ListItem constructor , takes text and type as parameters

ListItem ( string text, int type, string tooltip ) : System

ListItem constructor , takes text , type and tooltip text as parameters

ListItem ( string text, int type, string tooltip, string inserttext ) : System

ListItem constructor , takes text , type , tooltip text and insert text as parameters

ToString ( ) : string

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

ListItem() public method

ListItem constructor , takes text and type as parameters
public ListItem ( string text, int type ) : System
text string The text that should be assigned to the ListItem
type int The type of the ListItem
return System

ListItem() public method

ListItem constructor , takes text , type and tooltip text as parameters
public ListItem ( string text, int type, string tooltip ) : System
text string The text that should be assigned to the ListItem
type int The type of the ListItem
tooltip string The tooltip text that should be assigned to the ListItem
return System

ListItem() public method

ListItem constructor , takes text , type , tooltip text and insert text as parameters
public ListItem ( string text, int type, string tooltip, string inserttext ) : System
text string The text that should be assigned to the ListItem
type int The type of the ListItem
tooltip string The tooltip text that should be assigned to the ListItem
inserttext string The text that should be inserted into the text when this item is selected
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

InsertText public_oe property

The insert text of a ListItem
public string InsertText
return string

Text public_oe property

The text of a ListItem
public string Text
return string

ToolTip public_oe property

The tooltip text that should be displayed when selecting a ListItem
public string ToolTip
return string

Type public_oe property

The type of the ListItem (the type is used as an index to choose what icon to display)
public int Type
return int