using Avalonia.Controls;
using DodoSSH.Client.Shell.ViewModels;
namespace DodoSSH.Client.App.Views;
///
/// The question in front of deleting a host, a key or a password.
///
///
/// Its data context is the VaultViewModel, in all three of the places it is shown, so every binding
/// in the markup is a property of the vault. See , and
/// .
///
internal sealed partial class ConfirmDeleteCard : UserControl
{
public ConfirmDeleteCard()
{
InitializeComponent();
SafeAnswerFocus.Follow(this, nameof(VaultViewModel.PendingDeletion), () => CancelButton);
}
}