Class ComboBox
Represents a Cegui combo box
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.GuiComboBox)]
public class ComboBox : GuiElement
Constructors
|
Improve this Doc
View Source
ComboBox(Vector2, Vector2, String, Boolean, GuiElement)
Declaration
public ComboBox(Vector2 position, Vector2 dimensions, string caption, bool relative = false, GuiElement parent = null)
Parameters
Properties
|
Improve this Doc
View Source
ItemCount
The amount of items in this combo box
Declaration
public int ItemCount { get; }
Property Value
|
Improve this Doc
View Source
Open
Get or set if the combo box is open or not
Declaration
public bool Open { get; set; }
Property Value
|
Improve this Doc
View Source
Selected
Get and set the selected item
Declaration
public ComboBoxItem Selected { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddItem(String)
Declaration
public ComboBoxItem AddItem(string content)
Parameters
Type |
Name |
Description |
String |
content |
|
Returns
|
Improve this Doc
View Source
Clear()
Remove all items from this combo box
Declaration
Returns
|
Improve this Doc
View Source
RemoveItem(ComboBoxItem)
Remove a specific item from the combo box
Declaration
public bool RemoveItem(ComboBoxItem item)
Parameters
Returns
Events
|
Improve this Doc
View Source
OnAccepted
Declaration
public event ComboBox.OnAcceptedHandler OnAccepted
Event Type