using BookApp.ViewModel; using System.Windows.Input; using VMWrapper; namespace BookApp.Pages { public partial class EmpruntsPrets : ContentPage { /* public ICommand TapCommand => new Command(ToggleSwitch); private bool _isToggled; public bool IsToggled { get => _isToggled; set { _isToggled = value; OnPropertyChanged(); } }*/ public EmpruntsPrets(BookViewModel data) { InitializeComponent(); BindingContext = data; } /*private void ToggleSwitch() { IsToggled = !IsToggled; }*/ } }