功能完善

This commit is contained in:
ShrlAlgo
2025-08-20 12:10:13 +08:00
parent d0cfc64450
commit fcd306b0f7
270 changed files with 11503 additions and 7193 deletions

View File

@@ -0,0 +1,25 @@
using System.Windows.Controls.Primitives;
namespace NeumUI.Controls;
/// <summary>
/// A hyperlink button.
/// </summary>
public class Hyperlink : ButtonBase
{
#region Properties
public static readonly DependencyProperty UriProperty =
DependencyProperty.Register(nameof(Uri), typeof(string), typeof(Hyperlink), new PropertyMetadata(string.Empty));
/// <summary>
/// Gets or sets the uri of hyperlinks.
/// </summary>
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
}