using BookApp.ViewModel; namespace BookApp.Pages { public partial class Filtrage : ContentPage { SearchBar searchBar = new SearchBar { Placeholder = "Search items..." }; public Filtrage() { InitializeComponent(); } async void BackButton(object sender, EventArgs args) { await Shell.Current.Navigation.PopAsync(); } } }