using System.Windows.Controls.Primitives;
namespace NeumUI.Controls;
///
/// A hyperlink button.
///
public class Hyperlink : ButtonBase
{
#region Properties
public static readonly DependencyProperty UriProperty =
DependencyProperty.Register(nameof(Uri), typeof(string), typeof(Hyperlink), new PropertyMetadata(string.Empty));
///
/// Gets or sets the uri of hyperlinks.
///
public string Uri { get => (string)GetValue(UriProperty);
set => SetValue(UriProperty, value);
}
#endregion
#region Constructors
static Hyperlink()
{ DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); }
#endregion
}