SharpLibEar/PropertyComboBox.cs
author StephaneLenclud
Wed, 31 Aug 2016 20:20:32 +0200
changeset 265 82e87f4956ea
permissions -rw-r--r--
Actions can now have children.
Stephane@243
     1
using System;
Stephane@243
     2
using System.Collections.Generic;
Stephane@243
     3
using System.Linq;
Stephane@243
     4
using System.Runtime.Serialization;
Stephane@243
     5
using System.Text;
Stephane@243
     6
using System.Threading.Tasks;
Stephane@243
     7
Stephane@243
     8
namespace SharpLib.Ear
Stephane@243
     9
{
Stephane@243
    10
    /// <summary>
Stephane@243
    11
    /// ComboBox property
Stephane@243
    12
    /// </summary>
Stephane@243
    13
    [DataContract]
Stephane@243
    14
    [AttributeObject(Id = "Property.ComboBox", Name = "ComboBox", Description = "ComboBox property.")]
Stephane@243
    15
    public class PropertyComboBox : Object
Stephane@243
    16
    {
Stephane@243
    17
        public IList<string> Items { get; set; } = new List<string>();
Stephane@243
    18
Stephane@243
    19
        [DataMember]
Stephane@243
    20
        public string CurrentItem { get; set; }
Stephane@243
    21
    }
Stephane@243
    22
}