메소드 | 설명 | |
---|---|---|
Add ( string text, object value ) : |
Adds a new item to the combo-box.
|
|
ComboBoxViewModel ( ) : System | ||
Select ( int index ) : void |
Sets the element at the specified index as the currently SelectedItem. This method sets the SelectedItem to null if the 'index' is outside the range of 'Items'. |
|
SelectFirst ( ) : void |
Sets the first item in the collection as the currently SelectedItem.
|
|
SelectLast ( ) : void |
Sets the last item in the collection as the currently SelectedItem.
|
|
SelectValue ( object value ) : void |
Selects the item with the specified value (of sets the SelectedItem to null if the value does not exist within the 'Items' collection).
|
메소드 | 설명 | |
---|---|---|
OnSelectionChanged ( ) : void |
public Add ( string text, object value ) : |
||
text | string | The display text of the item. |
value | object | The value for the item. |
리턴 |
public Select ( int index ) : void | ||
index | int | The index of the item to select. |
리턴 | void |
public SelectValue ( object value ) : void | ||
value | object | The value to select. |
리턴 | void |