25 lines
512 B
C#
25 lines
512 B
C#
using System;
|
|
|
|
namespace Ooui
|
|
{
|
|
public abstract class FormControl : Element
|
|
{
|
|
string name = "";
|
|
public string Name {
|
|
get => name;
|
|
set => SetProperty (ref name, value, "name");
|
|
}
|
|
|
|
bool isDisabled = false;
|
|
public bool IsDisabled {
|
|
get => isDisabled;
|
|
set => SetProperty (ref isDisabled, value, "disabled");
|
|
}
|
|
|
|
public FormControl (string tagName)
|
|
: base (tagName)
|
|
{
|
|
}
|
|
}
|
|
}
|