using System.Windows.Input; using Avalonia; using Avalonia.Controls; using SPT.Launcher.Models.Launcher; namespace SPT.Launcher.CustomControls; public partial class ProfileCard : UserControl { public ProfileCard() { InitializeComponent(); } public static readonly StyledProperty ProfileInfoProperty = AvaloniaProperty.Register( "ProfileInfo"); public ProfileInfo ProfileInfo { get => GetValue(ProfileInfoProperty); set => SetValue(ProfileInfoProperty, value); } public static readonly StyledProperty CurrentIdProperty = AvaloniaProperty.Register( "CurrentId"); public string CurrentId { get => GetValue(CurrentIdProperty); set => SetValue(CurrentIdProperty, value); } public static readonly StyledProperty CurrentEditionProperty = AvaloniaProperty.Register( "CurrentEdition"); public string CurrentEdition { get => GetValue(CurrentEditionProperty); set => SetValue(CurrentEditionProperty, value); } public static readonly StyledProperty WipeProfileOnStartProperty = AvaloniaProperty.Register( "WipeProfileOnStart"); public bool WipeProfileOnStart { get => GetValue(WipeProfileOnStartProperty); set => SetValue(WipeProfileOnStartProperty, value); } public static readonly StyledProperty ProfileWipePendingProperty = AvaloniaProperty.Register( "ProfileWipePending"); public bool ProfileWipePending { get => GetValue(ProfileWipePendingProperty); set => SetValue(ProfileWipePendingProperty, value); } public static readonly StyledProperty RemoveProfileCommandProperty = AvaloniaProperty.Register( "RemoveProfileCommand"); public ICommand RemoveProfileCommand { get => GetValue(RemoveProfileCommandProperty); set => SetValue(RemoveProfileCommandProperty, value); } public static readonly StyledProperty CopyCommandProperty = AvaloniaProperty.Register( "CopyCommand"); public ICommand CopyCommand { get => GetValue(CopyCommandProperty); set => SetValue(CopyCommandProperty, value); } public static readonly StyledProperty ChangeEditionCommandProperty = AvaloniaProperty.Register( "ChangeEditionCommand"); public ICommand ChangeEditionCommand { get => GetValue(ChangeEditionCommandProperty); set => SetValue(ChangeEditionCommandProperty, value); } }