Show / Hide Table of Contents

Class ComboBox

Represents a selection control with a drop-down list.

Inheritance
System.Object
Element
ComboBox
Inherited Members
Element.OnValueChanged
Element.ValueChanged()
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 Source

ComboBox(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 Source

Items

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>
| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX