x4Trace Documentation v1.0
Loading...
Searching...
No Matches
IGraphics.Controls.IComboBox Interface Reference

Represents a GUI interface of combobox. More...

Public Member Functions

void IAddItem (string text)
 Adds item.
 
void IAddItem (string text, object val)
 Adds item.
 
object IGetItem (int index)
 Returns the value of item.
 
void IClearItems ()
 Clears the items.
 
bool SetValueBy (string val)
 Sets the selected index by value.
 

Properties

int ISelectedIndex [get, set]
 Returns index of selected item.
 
System.Data.DataRow SelectedDataRow [get]
 Returns the selected datarow.
 

Events

IComboBoxSelectedIndexChanged ISelectedIndexChanged
 Event of selected index changed.
 

Detailed Description

Represents a GUI interface of combobox.

Member Function Documentation

◆ IAddItem() [1/2]

void IGraphics.Controls.IComboBox.IAddItem ( string text)

Adds item.

Parameters
textText of item.

◆ IAddItem() [2/2]

void IGraphics.Controls.IComboBox.IAddItem ( string text,
object val )

Adds item.

Parameters
textText of item.
valValue of item.

◆ IGetItem()

object IGraphics.Controls.IComboBox.IGetItem ( int index)

Returns the value of item.

Parameters
indexIndex of item.
Returns
The value as object.

◆ SetValueBy()

bool IGraphics.Controls.IComboBox.SetValueBy ( string val)

Sets the selected index by value.

Parameters
valValue to set.
Returns
True when the set is successful.

The documentation for this interface was generated from the following file: