2017-12-28 20:01:00 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Ooui.Forms
|
|
|
|
|
{
|
|
|
|
|
public class LinkLabel : Xamarin.Forms.Label
|
|
|
|
|
{
|
|
|
|
|
public static readonly BindableProperty HRefProperty = BindableProperty.Create ("HRef", typeof (string),
|
2018-02-02 06:52:39 +00:00
|
|
|
|
typeof (LinkLabel), string.Empty, BindingMode.OneWay, null, null, null, null);
|
2017-12-28 20:01:00 +00:00
|
|
|
|
|
|
|
|
|
public string HRef {
|
|
|
|
|
get { return (string)base.GetValue (HRefProperty); }
|
|
|
|
|
set { base.SetValue (HRefProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-02 06:52:39 +00:00
|
|
|
|
public static readonly BindableProperty TargetProperty = BindableProperty.Create ("Target", typeof (string),
|
|
|
|
|
typeof (LinkLabel), string.Empty, BindingMode.OneWay, null, null, null, null);
|
|
|
|
|
|
|
|
|
|
public string Target {
|
|
|
|
|
get { return (string)base.GetValue (TargetProperty); }
|
|
|
|
|
set { base.SetValue (TargetProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-28 20:01:00 +00:00
|
|
|
|
public LinkLabel ()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|