Goblin - A Platform for 3D AR and VR Applications

ComboBox Methods

The methods of the ComboBox class are listed below. For a complete list of ComboBox class members, see the ComboBox Members topic.

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.

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