Jump to: navigation, search

Changes


Custom Query Search

51 bytes added, 09:57, 12 December 2024
{{UnderConstructionStart}}
 
The custom query search uses a query provided via the customizing to define the context of the search. {{Version/WinXSince|4.9}}{{Version/XamarinSince|4.9}}
* SearchText: takes the string that should be used as search term for the search.
* QueryID: takes the UID of the query object that should be used as search context.
* (Optional) NavigateOnSingleResult: if this is set to true and a search returns only a single result the app will automatically navigate to the found object. By default its value is false.
== Example ==
<tab name="UWP">
<source lang = "xml">
<AutoSuggestBoxx:Name="Search"
...
<interactivity:Interaction.Behaviors>
<tab name="Xamarin">
<source lang = "xml">
<SearchBarx:Name="SearchField"
...
<behaviors:EventHandlerBehavior EventName="SearchButtonPressed">
217
edits