How to add Search bar in top of a tabbed page in xamarin forms

1.1k views Asked by At

In my xamarin app,I want to add a search bar on top of the page in my tabbed page.

<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         x:Class="Sample.Mobile.Test">

   <StackLayout>
      <SearchBar></SearchBar>
   </StackLayout>
<TabbedPage.Children>
    <ContentPage x:Name="tab1" Title="Home">
  </ContentPage>

 </TabbedPage.Children>
</TabbedPage>
1

There are 1 answers

3
Abhinash On

You can use follow this link for the Search bar Implementation https://developer.xamarin.com/api/type/Xamarin.Forms.SearchBar/