Ooui-tws-port/Ooui/Label.cs

25 lines
408 B
C#

using System;
namespace Ooui
{
public class Label : Element
{
public Element For {
get => GetAttribute<Element> ("for", null);
set => SetAttributeProperty ("for", value);
}
public Label ()
: base ("label")
{
}
public Label (string text)
: this ()
{
Text = text;
}
}
}