【问题标题】:How to add Search bar in top of a tabbed page in xamarin forms如何在 xamarin 表单的选项卡式页面顶部添加搜索栏
【发布时间】:2017-09-06 19:46:20
【问题描述】:

在我的 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>

【问题讨论】:

    标签: xamarin searchbar tabbedpage


    【解决方案1】:

    您可以使用以下链接进行搜索栏实施 https://developer.xamarin.com/api/type/Xamarin.Forms.SearchBar/

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-03-31
    • 1970-01-01
    • 2021-12-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-05-17
    相关资源
    最近更新 更多