RanorexNetRanorexNet Documentation
ComboBox Class
NamespacesRanorexComboBox
Represents a Windows combo box control.
Declaration Syntax
C#Visual BasicVisual C++
public class ComboBox : Control
Public Class ComboBox _
	Inherits Control
public ref class ComboBox : public Control
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ComboBox(IntPtr)
Initializes a new instance of the ComboBox class.

AccessibleDescription
Gets or sets the description of the control used by accessibility client applications.
(Inherited from Control.)
AccessibleName
Gets or sets the name of the control used by accessibility client applications.
(Inherited from Control.)
AccessibleRole
Gets or sets the accessible role of the control.
(Inherited from Control.)
AllowDrop
Gets or sets a value indicating whether the control can accept data that the user drags onto it.
(Inherited from Control.)
Anchor
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control.)
AutoCompleteMode
Gets or sets an option that controls how automatic completion works for the ComboBox.

AutoCompleteSource
Gets or sets a value specifying the source of complete strings used for automatic completion.

AutoSize
Gets or sets a value that indicates whether the control resizes based on its contents.
(Inherited from Control.)
BackColor
Gets or sets the background color for the control.
(Inherited from Control.)
BackgroundImage
Gets or sets the background image displayed in the control.
(Inherited from Control.)
BackgroundImageLayout
Gets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from Control.)
CaptureImage()()()
Creates a screenshot of the region occupied by the control on the screen.
(Inherited from Control.)
CaptureImage(String)
Creates a screenshot of the region occupied by the control on the screen and writes it to a file.
(Inherited from Control.)
CausesValidation
Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
(Inherited from Control.)
Children
Arraylist containing all children of the control.
(Inherited from Control.)
ClassName
Gets the name of the class to which the specified window belongs.
(Inherited from Control.)
CompareImage(Control)
The function compares the image of the control with an image of an other control.
(Inherited from Control.)
CompareImage(Point, Size)
The function compares the image of the control with an other image on the screen. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
(Inherited from Control.)
CompareImage(Point, Size, Point)
The function compares the image of the control with an other image on the screen. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
(Inherited from Control.)
CompareImage(String)
Compares the image of the control with another image loaded from a bitmap (BMP) file.
(Inherited from Control.)
CompareImage(String, Point)
Compares the image of the control with another image loaded from a bitmap (BMP) file.
(Inherited from Control.)
ControlId
Gets the identifier of the control.
(Inherited from Control.)
ControlType
Gets the Type of a proxied control that derives from the .NET 2.0 Control.
(Inherited from Control.)
Cursor
Gets or sets the cursor that is displayed when the mouse pointer is over the control.
(Inherited from Control.)
DataBindings
Gets the data bindings for the control.
(Inherited from Control.)
Dock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.)
DrawMode
Gets or sets a value indicating whether your code or the operating system will handle drawing of elements in the list.

DropDownHeight
Gets or sets the height in pixels of the drop-down portion of the ComboBox.

DropDownStyle
Gets or sets a value specifying the style of the combo box.

DropDownWidth
Gets or sets the width of the of the drop-down portion of a combo box.

Element
Gets the accessibility element of the control.
(Inherited from Control.)
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindButton(String)
The function searches a button in the form with the specified name. If no button can be found with the name, the function return null.
(Inherited from Control.)
FindButton(Int32)
The function searches a button in the form with the specified control Id. If no button can be found with the control Id, the function return null.
(Inherited from Control.)
FindCheckBox(String)
The function searches a checkbox in the form with the specified name. If no checkbox can be found with the name, the function return null.
(Inherited from Control.)
FindCheckBox(Int32)
The function searches a checkbox in the form with the specified control Id. If no checkbox can be found with the control Id, the function return null.
(Inherited from Control.)
FindCheckedListBox(String)
The function searches a checked listbox control in the form with the specified name. If no checked listbox control can be found with the name, the function return null.
(Inherited from Control.)
FindChildText(String)
The function retrieves the child control whose text match the specified strings. This function searches a child control of the form, performs a case-sensitive search. If no child control can be found with the specified text, the function returns null.
(Inherited from Control.)
FindChildText(String, SearchMatchMode)
The function retrieves the child control whose text match the specified strings. This function searches a child control of the form, performs a case-sensitive search. If no child control can be found with the specified text, the function returns null.
(Inherited from Control.)
FindClassName(String)
The function retrieves the control whose classname match the specified strings. This function searches a child windows of the form, performs a case-sensitive search. If no child window can be found with the specified classname, the function return zero.
(Inherited from Control.)
FindClassName(String, Int32)
The function retrieves the control whose classname and instance number match the specified strings and number. This function searches a child windows of the form, performs a case-sensitive search. If no child window can be found with the specified classname and instance number, the function return zero.
(Inherited from Control.)
FindComboBox(String)
The function searches a combobox in the form with the specified name. If no combobox can be found with the name, the function return null.
(Inherited from Control.)
FindComboBox(Int32)
The function searches a combobox in the form with the specified control Id. If no combobox can be found with the control Id, the function return null.
(Inherited from Control.)
FindContextMenuStrip(String)
The function searches a contextmenu strip in the form with the specified name. If no contextmenu strip can be found with the name, the function return null.
(Inherited from Control.)
FindControlId(Int32)
The function retrieves a control with the specified control Id. If no control can be found with the specified control Id, the function return null.
(Inherited from Control.)
FindControlName(String)
The function retrieves the control whose name matches the specified strings. This function performs a case-sensitive search. If no child window can be found with the specified control name, the function returns null.
(Inherited from Control.)
FindDataGrid(String)
The function searches a data grid control in the form with the specified name. If no data grid can be found with the name, the function return null.
(Inherited from Control.)
FindDateTimePicker(String)
The function searches a datetime picker control in the form with the specified name. If no datetime picker control can be found with the name, the function return null.
(Inherited from Control.)
FindDateTimePicker(Int32)
The function searches a datetime picker control in the form with the specified control Id. If no datetime picker control can be found with the control Id, the function return null.
(Inherited from Control.)
FindDomainUpDown(String)
The function searches a DomainUpDown control in the form with the specified name. If no domain up down control can be found with the name, the function return null.
(Inherited from Control.)
FindImage(Point, Size, Point%)
The function searches an image on the screen within the control rectangle. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
(Inherited from Control.)
FindImage(Point, Size, Point%, Point, Size)
The function searches an image on the screen within the control rectangle. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
(Inherited from Control.)
FindImage(String, Point%)
Searches an image loaded from a bitmap (BMP) file on the screen within the control rectangle.
(Inherited from Control.)
FindImage(String, Point%, Point, Size)
Searches an image loaded from a bitmap (BMP) file on the screen within the control rectangle.
(Inherited from Control.)
FindLabel(String)
The function searches a label in the form with the specified name. If no label can be found with the name, the function return null.
(Inherited from Control.)
FindLabel(Int32)
The function searches a label in the form with the specified control Id. If no label can be found with the control Id, the function return null.
(Inherited from Control.)
FindListBox(String)
The function searches a listbox in the form with the specified name. If no listbox can be found with the name, the function return null.
(Inherited from Control.)
FindListBox(Int32)
The function searches a listbox in the form with the specified control Id. If no listbox can be found with the control Id, the function return null.
(Inherited from Control.)
FindListView(String)
The function searches a listview in the form with the specified name. If no listview can be found with the name, the function return null.
(Inherited from Control.)
FindListView(Int32)
The function searches a listview in the form with the specified control Id. If no listview can be found with the control Id, the function return null.
(Inherited from Control.)
FindMenuStrip(String)
The function searches a menustrip in the form with the specified name. If no menustrip can be found with the name, the function return null.
(Inherited from Control.)
FindNumericUpDown(String)
The function searches a numeric up down control in the form with the specified name. If no numeric up down control can be found with the name, the function return null.
(Inherited from Control.)
FindProgressBar(String)
The function searches a progress bar in the form with the specified name. If no progress bar can be found with the name, the function return null.
(Inherited from Control.)
FindProgressBar(Int32)
The function searches a progress bar in the form with the specified control Id. If no progress bar can be found with the control Id, the function return null.
(Inherited from Control.)
FindPropertyGrid(String)
The function searches a property grid control in the form with the specified name. If no property grid can be found with the name, the function return null.
(Inherited from Control.)
FindRadioButton(String)
The function searches a radio button in the form with the specified name. If no radio button can be found with the name, the function return null.
(Inherited from Control.)
FindRadioButton(Int32)
The function searches a radio button in the form with the specified control Id. If no radio button can be found with the control Id, the function return null.
(Inherited from Control.)
FindRichTextBox(String)
The function searches a rich textbox control in the form with the specified name. If no rich textbox control can be found with the name, the function return null.
(Inherited from Control.)
FindScrollBar(String)
The function searches a scroll bar in the form with the specified name. If no scroll bar can be found with the name, the function return null.
(Inherited from Control.)
FindScrollBar(Int32)
The function searches a scroll bar in the form with the specified control Id. If no scroll bar can be found with the control Id, the function return null.
(Inherited from Control.)
FindStatusBar(String)
The function searches a status bar in the form with the specified name. If no status bar can be found with the name, the function return null.
(Inherited from Control.)
FindStatusBar(Int32)
The function searches a status bar in the form with the specified control Id. If no status bar can be found with the control Id, the function return null.
(Inherited from Control.)
FindStatusStrip(String)
The function searches a statusstrip in the form with the specified name. If no statusstrip can be found with the name, the function return null.
(Inherited from Control.)
FindString(String)
The function searches the combo box for an item with a specified name.

FindString(String, SearchMatchMode)
The function searches the combo box for an item with a specified name.

FindTabControl(String)
The function searches a tab control in the form with the specified name. If no tab control can be found with the name, the function return null.
(Inherited from Control.)
FindTabControl(Int32)
The function searches a tab control in the form with the specified control Id. If no tab control can be found with the control Id, the function return null.
(Inherited from Control.)
FindTextBox(String)
The function searches a text box in the form with the specified name. If no text box can be found with the name, the function return null.
(Inherited from Control.)
FindTextBox(Int32)
The function searches a text box in the form with the specified control Id. If no text box can be found with the control Id, the function return null.
(Inherited from Control.)
FindToolBar(String)
The function searches a tool bar in the form with the specified name. If no tool bar can be found with the name, the function return null.
(Inherited from Control.)
FindToolBar(Int32)
The function searches a tool bar in the form with the specified control Id. If no tool bar can be found with the control Id, the function return null.
(Inherited from Control.)
FindToolStrip(String)
The function searches a toolstrip in the form with the specified name. If no toolstrip can be found with the name, the function return null.
(Inherited from Control.)
FindTrackBar(String)
The function searches a track bar in the form with the specified name. If no track bar can be found with the name, the function return null.
(Inherited from Control.)
FindTrackBar(Int32)
The function searches a track bar in the form with the specified control Id. If no track bar can be found with the control Id, the function return null.
(Inherited from Control.)
FindTreeView(String)
The function searches a treeview in the form with the specified name. If no treeview can be found with the name, the function return null.
(Inherited from Control.)
FindTreeView(Int32)
The function searches a treeview in the form with the specified control Id. If no treeview can be found with the control Id, the function return null.
(Inherited from Control.)
FlatStyle
Gets or sets the appearance of the ComboBox.

Focus()()()
Sets input focus to the control.
(Inherited from Control.)
Focused
Gets a value indicating whether the control has input focus.
(Inherited from Control.)
Font
Gets or sets the font of the text displayed by the control.
(Inherited from Control.)
ForeColor
Gets or sets the foreground color of the control.
(Inherited from Control.)
FormatString
Gets or sets the format-specifier characters that indicate how a value is to be displayed.

FormattingEnabled
Gets or sets a value indicating whether formatting is applied to the DisplayMember property of the ListControl.

GetChildren()()() Obsolete.
Gets all children of the control.
(Inherited from Control.)
GetEventNames()()()
Returns a String array containing the names of available events of the proxied control.
(Inherited from Control.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetItemText(Int32)
The function retrieve the text of the item with the specified index in the combo box.

GetMethodNames()()()
Returns a String array containing the names of available methods of the proxied control.
(Inherited from Control.)
GetMethodNames(BindingFlags)
Returns a String array containing the names of available methods of the proxied control.
(Inherited from Control.)
GetPropertyNames()()()
Returns a String array containing the names of available properties of the proxied control.
(Inherited from Control.)
GetPropertyValue<(Of <(T>)>)(String)
Returns the current value of the control's property named propertyName.
(Inherited from Control.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Handle
Gets the window handle that the control is bound to.
(Inherited from Control.)
Hide()()()
Conceals the control from the user.
(Inherited from Control.)
HideDropDown()()()
The function hides the dropdown list of the combo box.

ImeMode
Gets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control.)
IntegralHeight
Gets or sets a value indicating whether the control should resize to avoid showing partial items.

InvokeMethod(String, array<Object>[]()[])
Invokes the method named methodName on the proxied control using the specified arguments args.
(Inherited from Control.)
InvokeMethod(BindingFlags, String, array<Object>[]()[])
Invokes the method named methodName on the proxied control using the specified arguments args.
(Inherited from Control.)
InvokeRemotely(Control..::.RemotelyInvokedDelegate)
Invokes the delegate deleg remotely at the Control associated with this instance.
(Inherited from Control.)
InvokeRemotely(Control..::.RemotelyInvokedDelegateWithInputData, Object)
Invokes the delegate deleg remotely at the Control associated with this instance.
(Inherited from Control.)
IsManaged
Gets a value indicating if the control is managed.
(Inherited from Control.)
ItemCount
The function retrieves the number of items in the combo box.

ItemHeight
Gets or sets the height of an item in the combo box.

Location
Gets or sets the coordinates of the upper-left corner of the control.
(Inherited from Control.)
Margin
Gets or sets the space between controls.
(Inherited from Control.)
MaxDropDownItems
Gets or sets the maximum number of items to be shown in the drop-down portion of the ComboBox.

MaximumSize
Gets or sets the size that is the upper limit that GetPreferredSize can specify.
(Inherited from Control.)
MaxLength
Gets or sets the maximum number of characters possible in the editable portion of a combo box.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinimumSize
Gets or sets the size that is the lower limit that GetPreferredSize can specify.
(Inherited from Control.)
Name
Gets the name of the control.
(Inherited from Control.)
Padding
Gets or sets padding within the control.
(Inherited from Control.)
RightToLeft
Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
(Inherited from Control.)
SelectedIndex
Gets or sets the index specifying the currently selected item.

SelectedText
Gets the text of the currently selected item of the combo box or select the item with the specified text of the combo box.

SendKeys(String)
Use the SendKeys method to send keystrokes to applications or controls.
(Inherited from Control.)
SendKeys(String, Int32)
Use the SendKeys method to send keystrokes to applications or controls.
(Inherited from Control.)
SendKeys(String, Int32, Int32)
Use the SendKeys method to send keystrokes to applications or controls.
(Inherited from Control.)
SetPropertyValue(String, Object)
Sets the current value of the property named propertyName to the specified value.
(Inherited from Control.)
Show()()()
Displays the control to the user.
(Inherited from Control.)
ShowDropDown()()()
The function shows the dropdown list of the combo box.

Size
Gets or sets the height and width of the control.
(Inherited from Control.)
Sorted
Gets or sets a value indicating whether the items in the combo box are sorted.

SubscribeEvent(String, EventHandler)
Subscribes the specified eventHandler to the event named eventName of the proxied control.
(Inherited from Control.)
TabIndex
Gets or sets the tab order of the control within its container.
(Inherited from Control.)
TabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control.)
Text
Gets or sets the text associated with the control.
(Inherited from Control.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UnsubscribeEvent(String, EventHandler)
Unsubscribes the specified eventHandler from the event named eventName of the proxied control.
(Inherited from Control.)
UseWaitCursor
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control.)
Visible
Gets or sets a value indicating whether the control is displayed.
(Inherited from Control.)
Inheritance Hierarchy
Object
Control
 ComboBox

Assembly: RanorexNet (Module: RanorexNet) Version: 1.5.1.4524