C# Class FlatRedBall.Gui.ComboBox

Summary description for ComboBox.
Inheritance: Window
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
SelectedObject object

Méthodes publiques

Méthode Description
AddItem ( string stringToAdd ) : void
AddItem ( string stringToAdd, object referenceObject ) : void
AddItemsFromEnum ( Type enumType ) : void
CallOnItemClick ( ) : void
Clear ( ) : void
ComboBox ( Cursor cursor ) : System
ContainsObject ( object objectToSearchFor ) : bool
ContainsObject ( string objectToSearchFor ) : bool
ContainsText ( string textToSearchFor ) : bool
FindItemByText ( string textToSearchFor ) : CollapseItem
GetItemIndex ( string text ) : int
InsertItem ( int index, string stringToAdd ) : void
InsertItem ( int index, string stringToAdd, object referenceObject ) : void
RemoveAt ( int index ) : void
SelectItem ( int index ) : void
SelectItemByObject ( object referenceObject ) : void
SelectItemByObject ( string referenceObject ) : void
SelectItemByObjectNoCall ( object referenceObject ) : void
SelectItemByText ( string itemText ) : void
SelectItemByTextNoCall ( string itemText ) : void
SelectItemNoCall ( int index ) : void
this ( int i ) : CollapseItem

Méthodes protégées

Méthode Description
Destroy ( bool keepEvents ) : void

Private Methods

Méthode Description
Destroy ( ) : void
OnDropDownButtonClick ( Window callingWindow ) : void

Event clicked when the dropDownButton is clicked. If the ListBox is not visible it will appear.

OnListBoxClicked ( Window callingWindow ) : void
OnMouseWheelScroll ( Window callingWindow ) : void
RaiseTextChange ( Window callingWindow ) : void

Method Details

AddItem() public méthode

public AddItem ( string stringToAdd ) : void
stringToAdd string
Résultat void

AddItem() public méthode

public AddItem ( string stringToAdd, object referenceObject ) : void
stringToAdd string
referenceObject object
Résultat void

AddItemsFromEnum() public méthode

public AddItemsFromEnum ( Type enumType ) : void
enumType System.Type
Résultat void

CallOnItemClick() public méthode

public CallOnItemClick ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

ComboBox() public méthode

public ComboBox ( Cursor cursor ) : System
cursor Cursor
Résultat System

ContainsObject() public méthode

public ContainsObject ( object objectToSearchFor ) : bool
objectToSearchFor object
Résultat bool

ContainsObject() public méthode

public ContainsObject ( string objectToSearchFor ) : bool
objectToSearchFor string
Résultat bool

ContainsText() public méthode

public ContainsText ( string textToSearchFor ) : bool
textToSearchFor string
Résultat bool

Destroy() protected méthode

protected Destroy ( bool keepEvents ) : void
keepEvents bool
Résultat void

FindItemByText() public méthode

public FindItemByText ( string textToSearchFor ) : CollapseItem
textToSearchFor string
Résultat CollapseItem

GetItemIndex() public méthode

public GetItemIndex ( string text ) : int
text string
Résultat int

InsertItem() public méthode

public InsertItem ( int index, string stringToAdd ) : void
index int
stringToAdd string
Résultat void

InsertItem() public méthode

public InsertItem ( int index, string stringToAdd, object referenceObject ) : void
index int
stringToAdd string
referenceObject object
Résultat void

RemoveAt() public méthode

public RemoveAt ( int index ) : void
index int
Résultat void

SelectItem() public méthode

public SelectItem ( int index ) : void
index int
Résultat void

SelectItemByObject() public méthode

public SelectItemByObject ( object referenceObject ) : void
referenceObject object
Résultat void

SelectItemByObject() public méthode

public SelectItemByObject ( string referenceObject ) : void
referenceObject string
Résultat void

SelectItemByObjectNoCall() public méthode

public SelectItemByObjectNoCall ( object referenceObject ) : void
referenceObject object
Résultat void

SelectItemByText() public méthode

public SelectItemByText ( string itemText ) : void
itemText string
Résultat void

SelectItemByTextNoCall() public méthode

public SelectItemByTextNoCall ( string itemText ) : void
itemText string
Résultat void

SelectItemNoCall() public méthode

public SelectItemNoCall ( int index ) : void
index int
Résultat void

this() public méthode

public this ( int i ) : CollapseItem
i int
Résultat CollapseItem

Property Details

SelectedObject public_oe property

public object SelectedObject
Résultat object