SharpLibEar/PropertyButton.cs
author StephaneLenclud
Wed, 31 Aug 2016 23:59:00 +0200
changeset 266 b11d7ebbdc7f
permissions -rw-r--r--
Published v1.3.1.0.
Harmony Auth Token now persisted in settings.
Various EAR view fixes.
Removed Sleep action
StephaneLenclud@250
     1
using System;
StephaneLenclud@250
     2
using System.Collections.Generic;
StephaneLenclud@250
     3
using System.Linq;
StephaneLenclud@250
     4
using System.Runtime.Serialization;
StephaneLenclud@250
     5
using System.Text;
StephaneLenclud@250
     6
using System.Threading.Tasks;
StephaneLenclud@250
     7
StephaneLenclud@250
     8
namespace SharpLib.Ear
StephaneLenclud@250
     9
{
StephaneLenclud@250
    10
    /// <summary>
StephaneLenclud@250
    11
    /// Generic button property
StephaneLenclud@250
    12
    /// </summary>
StephaneLenclud@250
    13
    [DataContract]
StephaneLenclud@250
    14
    [AttributeObject(Id = "Property.Button", Name = "Button", Description = "Button property.")]
StephaneLenclud@250
    15
    public class PropertyButton : Object
StephaneLenclud@250
    16
    {
StephaneLenclud@250
    17
        public EventHandler ClickEventHandler;
StephaneLenclud@250
    18
StephaneLenclud@250
    19
        [DataMember]
StephaneLenclud@250
    20
        public string Text { get; set; }
StephaneLenclud@250
    21
    }
StephaneLenclud@250
    22
}