using Avalonia; using System.Windows.Input; namespace SPTInstaller.CustomControls; public partial class DetailedPreCheckItem : PreCheckItem { public DetailedPreCheckItem() { InitializeComponent(); } public string PreCheckDetails { get => GetValue(PreCheckDetailsProperty); set => SetValue(PreCheckDetailsProperty, value); } public static readonly StyledProperty PreCheckDetailsProperty = AvaloniaProperty.Register(nameof(PreCheckDetails)); public bool ActionButtonIsVisible { get => GetValue(ActionButtonIsVisibleProperty); set => SetValue(ActionButtonIsVisibleProperty, value); } public static readonly StyledProperty ActionButtonIsVisibleProperty = AvaloniaProperty.Register(nameof(ActionButtonIsVisible)); public string ActionButtonText { get => GetValue(ActionButtonTextProperty); set => SetValue(ActionButtonTextProperty, value); } public static readonly StyledProperty ActionButtonTextProperty = AvaloniaProperty.Register(nameof(ActionButtonText)); public ICommand ActionButtonCommand { get => GetValue(ActionButtonCommandProperty); set => SetValue(ActionButtonCommandProperty, value); } public static readonly StyledProperty ActionButtonCommandProperty = AvaloniaProperty.Register(nameof(ActionButtonCommand)); }