Ooui-tws-port/Ooui/FormControl.cs

24 lines
534 B
C#
Raw Normal View History

2017-06-13 07:03:01 +00:00
using System;
namespace Ooui
{
public abstract class FormControl : Element
{
public string Name {
2018-02-02 02:43:23 +00:00
get => GetStringAttribute ("name", "");
set => SetAttributeProperty ("name", value);
2017-06-13 07:03:01 +00:00
}
2017-06-15 06:20:51 +00:00
2017-06-16 05:33:12 +00:00
bool isDisabled = false;
public bool IsDisabled {
2018-02-02 02:43:23 +00:00
get => GetBooleanAttribute ("disabled");
set => SetBooleanAttributeProperty ("disabled", value);
2017-06-16 05:33:12 +00:00
}
2017-06-15 06:20:51 +00:00
public FormControl (string tagName)
: base (tagName)
{
}
2017-06-13 07:03:01 +00:00
}
}