Ooui-tws-port/Ooui/Anchor.cs

23 lines
457 B
C#
Raw Normal View History

using System;
namespace Ooui
{
public class Anchor : Element
{
public string HRef {
2018-02-02 02:43:23 +00:00
get => GetStringAttribute ("href", "");
set => SetAttributeProperty ("href", value);
}
public string Target {
get => GetStringAttribute ("target", "");
set => SetAttributeProperty ("target", value);
}
public Anchor ()
: base ("a")
{
}
}
}