2017-06-16 06:41:38 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Ooui
|
|
|
|
{
|
|
|
|
public class Select : FormControl
|
|
|
|
{
|
|
|
|
string val = "";
|
|
|
|
public string Value {
|
|
|
|
get => val;
|
|
|
|
set => SetProperty (ref val, value ?? "", "value");
|
|
|
|
}
|
|
|
|
|
2017-07-08 05:55:04 +00:00
|
|
|
public event TargetEventHandler Changed {
|
2017-06-16 06:41:38 +00:00
|
|
|
add => AddEventListener ("change", value);
|
|
|
|
remove => RemoveEventListener ("change", value);
|
|
|
|
}
|
|
|
|
|
|
|
|
public Select ()
|
|
|
|
: base ("select")
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|