-2
可以在ToolBarItems中使用SearchBar吗?像whatsapp一样,右侧有搜索图标,当你点击它时,搜索栏打开。 我累了它没有工作。 任何人都可以帮助我。如何在ToolBarItems中使用SearchBar在xamarin.forms
可以在ToolBarItems中使用SearchBar吗?像whatsapp一样,右侧有搜索图标,当你点击它时,搜索栏打开。 我累了它没有工作。 任何人都可以帮助我。如何在ToolBarItems中使用SearchBar在xamarin.forms
Xamarin.Forms不允许你在导航栏
此示例应用程序添加一个搜索栏展示如何添加搜索栏正下方的导航栏: https://github.com/brminnick/InvestmentDataSampleApp
你问的确切同样的问题不久之前。 https://stackoverflow.com/questions/44302537/how-to-add-a-searchbar-to-the-top-of-page-like-toolbaritems-icon-with-xamarin-fo –
可能的重复[如何添加一个SearchBar到页面的顶部,像Xamarin.Forms的toolbaritems图标](https://stackoverflow.com/questions/44302537/how-to-add-a-searchbar-to-the-top-of-page-like -toolbaritems-icon-with-xamarin-fo) –
ohh ....对不起,我的错误。 – nitu