A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
520 B

using System;
using Avalonia.Controls;
namespace Avalonia.Markup.Xaml.UnitTests.Xaml
{
public class AttachedPropertyOwner
{
public static readonly AttachedProperty<double> DoubleProperty =
AvaloniaProperty.RegisterAttached<AttachedPropertyOwner, Control, double>("Double");
public static double GetDouble(Control control) => control.GetValue(DoubleProperty);
public static void SetDouble(Control control, double value) => control.SetValue(DoubleProperty, value);
}
}