29 lines
514 B
C#
29 lines
514 B
C#
using System;
|
|
|
|
namespace Ooui
|
|
{
|
|
public class Button : FormControl
|
|
{
|
|
string typ = "submit";
|
|
public string Type {
|
|
get => typ;
|
|
set => SetProperty (ref typ, value, "type");
|
|
}
|
|
|
|
string val = "";
|
|
public string Value {
|
|
get => val;
|
|
set => SetProperty (ref val, value, "value");
|
|
}
|
|
|
|
public Button ()
|
|
{
|
|
}
|
|
|
|
public Button (string text)
|
|
{
|
|
Text = text;
|
|
}
|
|
}
|
|
}
|