Last active
January 14, 2018 06:05
-
-
Save adityadeshpande/1266c996fc35c378f66c395e003dc2e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ContentPage.Content> | |
<Grid x:Name="_rootGrid"> | |
//SearchBar | |
<SearchBar IsVisible="{Binding SearchMode}" Placeholder="Search items.." Text="{Binding SearchText}"> | |
<SearchBar.Behaviors> | |
<behaviors:EventToCommandBehavior EventName="TextChanged" Command="{Binding SearchCommand}"/> | |
</SearchBar.Behaviors> | |
</SearchBar> | |
//ListView | |
<ListView x:Name="_ListView" ItemsSource="{Binding Items}" | |
ItemTemplate="{StaticResource ItemListDataSourceSelector}" HasUnevenRows="True"/> | |
</Grid> | |
</ContentPage.Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment