Ooui-tws-port/Ooui/Label.cs

25 lines
408 B
C#
Raw Normal View History

2017-06-16 07:02:42 +00:00
using System;
namespace Ooui
{
public class Label : Element
{
public Element For {
2018-02-02 02:43:23 +00:00
get => GetAttribute<Element> ("for", null);
set => SetAttributeProperty ("for", value);
2017-06-16 07:02:42 +00:00
}
public Label ()
: base ("label")
{
}
2018-03-10 00:43:50 +00:00
public Label (string text)
: this ()
{
Text = text;
}
2017-06-16 07:02:42 +00:00
}
}