From 4dc401421845f9f72db9b378504003abf46c44f4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:02:34 +0000 Subject: [PATCH 1/2] Initial plan From 9fa39b66aaad87985752bb465a104e87ebc307d8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:05:26 +0000 Subject: [PATCH 2/2] Add missing Animals property binding to SearchHandler samples Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com> --- docs/fundamentals/shell/search.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/fundamentals/shell/search.md b/docs/fundamentals/shell/search.md index 7f2991131..c53f0fe4a 100644 --- a/docs/fundamentals/shell/search.md +++ b/docs/fundamentals/shell/search.md @@ -92,11 +92,13 @@ The subclassed can be consumed by s ```xaml + xmlns:controls="clr-namespace:Xaminals.Controls" + xmlns:data="clr-namespace:Xaminals.Data"> + DisplayMemberName="Name" + Animals="{x:Static data:CatData.Cats}" /> ... @@ -109,7 +111,8 @@ Shell.SetSearchHandler(this, new AnimalSearchHandler { Placeholder = "Enter search term", ShowsResults = true, - DisplayMemberName = "Name" + DisplayMemberName = "Name", + Animals = CatData.Cats }); ``` @@ -147,10 +150,13 @@ In addition to displaying `string` data in the search results, the appearance of ```xaml + xmlns:controls="clr-namespace:Xaminals.Controls" + xmlns:data="clr-namespace:Xaminals.Data" + xmlns:models="clr-namespace:Xaminals.Models"> + ShowsResults="true" + Animals="{x:Static data:CatData.Cats}">