Goblin - A Platform for 3D AR and VR Applications

ComboBox Members

ComboBox overview

Public Static Fields

ComboButtonLayer 
DropdownLayer 
MainLayer 
SelectionLayer 

Public Instance Constructors

ComboBox Constructor Create new combo box control

Public Instance Fields

index (inherited from Control) 
isDefault (inherited from Control) 

Public Instance Properties

CanHaveFocusCan this control have focus
ControlType (inherited from Control)Type of the control
Hotkey (inherited from Control)The controls hotkey
ID (inherited from Control)Unique ID of the control
IsEnabled (inherited from Control)Is the control enabled
IsVisible (inherited from Control)Is the control visible
ItemOverloaded. Indexer for items in the list
NumberItemsNumber of items current in the list
Parent (inherited from Control)The parent dialog of this control
UserData (inherited from Control)User specified data

Public Instance Methods

AddItemAdds an item to the combo box control
ClearRemoves all items from the control
ContainsItemOverloaded. Determines whether this control contains an item
ContainsPoint (inherited from Control)Does the control contain this point
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetItemDataGets the data for an item
GetSelectedDataGets the data for the selected item
GetSelectedItemGets the selected item
GetTextCopy (inherited from StaticText) Return a copy of the string
GetType (inherited from Object) Gets the Type of the current instance.
HandleKeyboardCalled when the control needs to handle the keyboard
HandleMouseCalled when the control should handle the mouse
MsgProc (inherited from Control)Message Handler
OnFocusIn (inherited from Control)Called when control gets focus
OnFocusOutCalled when focus leaves the control
OnHotKeyCalled when the control's hotkey is pressed
OnInitializeInitialize the scrollbar control here
OnMouseEnter (inherited from Control)Called when mouse goes over the control
OnMouseExit (inherited from Control)Called when mouse leaves the control
Refresh (inherited from Control) Refreshes the control
RemoveAtRemoves an item at a particular index
RenderCalled when the control should be rendered
SetDropHeightSets the drop height of this control
SetLocation (inherited from Control)Called to set control's location
SetScrollbarWidthSets the scroll bar width of this control
SetSelectedOverloaded. Sets the selected item by index
SetSelectedByDataSets the selected item by data
SetSize (inherited from Control)Called to set control's size
SetText (inherited from StaticText) Sets the updated text for this control
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Changed 
Click (inherited from Button) 

Protected Instance Fields

boundingBox (inherited from Control) 
buttonRect 
controlId (inherited from Control) 
controlType (inherited from Control) 
controlX (inherited from Control) 
controlY (inherited from Control) 
dropDownRect 
dropDownTextRect 
dropHeight 
elementList (inherited from Control) 
enabled (inherited from Control) 
focusedIndex 
hasFocus (inherited from Control) 
height (inherited from Control) 
hotKey (inherited from Control) 
isComboOpen 
isMouseOver (inherited from Control) 
isPressed (inherited from Button) 
itemList 
localUserData (inherited from Control) 
parentDialog (inherited from Control) 
scrollbarControl 
scrollWidth 
selectedIndex 
textData (inherited from StaticText) 
textRect 
visible (inherited from Control) 
width (inherited from Control) 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindItemOverloaded. Finds an item in the list and returns the index
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
RaiseChangedEventCreate new button instance
RaiseClickEvent (inherited from Button)Create new button instance
UpdateRectanglesUpdate the rectangles for the combo box control

See Also

ComboBox Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace