Class ComboBox
Represents a selection control with a drop-down list.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DesktopMagicPluginAPI.Inputs
Assembly: DesktopMagicPluginAPI.dll
Syntax
public class ComboBox : Element
Constructors
| Improve this Doc View SourceComboBox(String[])
Initializes a new instance of the Label class with the provided items.
Declaration
public ComboBox(params string[] items)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | items |
Properties
| Improve this Doc View SourceItems
Gets the collection used to generate the content of the ComboBox.
Declaration
public ObservableCollection<string> Items { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ObservableCollection<System.String> |
Value
Gets the currently selected item associated with this ComboBox.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
If you assign a value to this property, the displayed text in the user interface will not be changed.