This commit is contained in:
Rene Schwarz
2021-08-06 12:35:46 +02:00
parent 2240d30570
commit 4828f95ebb
59 changed files with 476 additions and 829 deletions

View File

@@ -4,6 +4,11 @@ using System.Text;
using System.Windows;
namespace Server_Dashboard {
/// <summary>
/// Attached property base class
/// </summary>
/// <typeparam name="Parent"></typeparam>
/// <typeparam name="Property"></typeparam>
public abstract class BaseAttachedProperty<Parent, Property>
where Parent : BaseAttachedProperty<Parent, Property>, new() {
public event Action<DependencyObject, DependencyPropertyChangedEventArgs> ValueChanged = (sender, e) => { };

View File

@@ -5,8 +5,7 @@ using System.Text;
using System.Windows;
using System.Windows.Documents;
namespace Server_Dashboard
{
namespace Server_Dashboard {
public static class HyperlinkExtensions {
public static bool GetIsExternal(DependencyObject obj) {
return (bool)obj.GetValue(IsExternalProperty);