added Toolkit.UI.Avalonia

This commit is contained in:
TheXamlGuy
2024-04-13 11:34:23 +01:00
parent 053d8a851e
commit 62a7e94e19
14 changed files with 432 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using Avalonia;
namespace Toolkit.UI.Avalonia;
public class ParameterBinding :
AvaloniaObject
{
public static readonly StyledProperty<string> KeyProperty =
AvaloniaProperty.Register<ParameterBinding, string>(nameof(Key));
public static readonly StyledProperty<object> ValueProperty =
AvaloniaProperty.Register<ParameterBinding, object>(nameof(Value));
public string Key
{
get => GetValue(KeyProperty);
set => SetValue(KeyProperty, value);
}
public object Value
{
get => GetValue(ValueProperty);
set => SetValue(ValueProperty, value);
}
}