LANCommander/LANCommander.Launcher/Views/Components/HeroCard.axaml.cs
Pat Hartl b183e4b18c Remove old launcher, rename Avalonia launcher
Also adds ARM builds for Linux + Windows launcher
2026-06-06 05:49:24 -05:00

32 lines
851 B
C#

using System.Windows.Input;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
namespace LANCommander.Launcher.Views.Components;
public partial class HeroCard : UserControl
{
public static readonly StyledProperty<ICommand?> CommandProperty =
AvaloniaProperty.Register<HeroCard, ICommand?>(nameof(Command));
public static readonly StyledProperty<object?> CommandParameterProperty =
AvaloniaProperty.Register<HeroCard, object?>(nameof(CommandParameter));
public ICommand? Command
{
get => GetValue(CommandProperty);
set => SetValue(CommandProperty, value);
}
public object? CommandParameter
{
get => GetValue(CommandParameterProperty);
set => SetValue(CommandParameterProperty, value);
}
public HeroCard()
{
InitializeComponent();
}
}