using System.Collections.ObjectModel; using Avalonia; using Avalonia.Controls; using SPTInstaller.Models; namespace SPTInstaller.CustomControls; public partial class PreCheckDetails : UserControl { public PreCheckDetails() { InitializeComponent(); } public static readonly StyledProperty> PreChecksProperty = AvaloniaProperty.Register>(nameof(PreChecks)); public ObservableCollection PreChecks { get => GetValue(PreChecksProperty); set => SetValue(PreChecksProperty, value); } public static readonly StyledProperty SelectedIndexProperty = AvaloniaProperty.Register(nameof(SelectedIndex)); public int SelectedIndex { get => GetValue(SelectedIndexProperty); set => SetValue(SelectedIndexProperty, value); } }