SharpLibEar/PropertyButton.cs
author Stephane Lenclud
Fri, 02 Sep 2016 01:38:08 +0200
changeset 267 a601b377a3eb
permissions -rw-r--r--
Event trigger by name now won't trigger disabled events.
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
}