29 lines
905 B
C#
29 lines
905 B
C#
using System;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Ooui.Forms
|
|
{
|
|
public class LinkView : ContentView
|
|
{
|
|
public static readonly BindableProperty HRefProperty = BindableProperty.Create ("HRef", typeof (string),
|
|
typeof (LinkView), string.Empty, BindingMode.OneWay, null, null, null, null);
|
|
|
|
public string HRef {
|
|
get { return (string)base.GetValue (HRefProperty); }
|
|
set { base.SetValue (HRefProperty, value); }
|
|
}
|
|
|
|
public static readonly BindableProperty TargetProperty = BindableProperty.Create ("Target", typeof (string),
|
|
typeof (LinkView), string.Empty, BindingMode.OneWay, null, null, null, null);
|
|
|
|
public string Target {
|
|
get { return (string)base.GetValue (TargetProperty); }
|
|
set { base.SetValue (TargetProperty, value); }
|
|
}
|
|
|
|
public LinkView ()
|
|
{
|
|
}
|
|
}
|
|
}
|