Files
Toolkit2/Toolkit.UI.Avalonia/ParameterBinding.cs
T
TheXamlGuy bc55c4649b tidy
2024-04-26 23:05:36 +01:00

25 lines
629 B
C#

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);
}
}