2017-09-06 3 views
0

Dans mon application xamarin, je souhaite ajouter une barre de recherche en haut de la page dans mon onglet.Comment ajouter une barre de recherche en haut d'une page à onglets dans les formulaires xamarin

<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> 

Répondre