[Windows] Fixed SearchHandler issues#29520
Conversation
|
Hey there @@Tamilarasan-Paranthaman! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes issues with the Windows SearchHandler by ensuring that all SearchHandler properties are properly applied to the native control. The changes include updates to extension methods for handling SearchHandler properties, new event subscriptions in the ShellItemHandler for Windows, and corresponding test cases to validate the behavior.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29493.cs | Added automated test case to verify SearchHandler values. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue29493.cs | Updated host application to invoke SearchHandler property updates via a button click. |
| src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs | Introduced new extension methods that update various SearchHandler properties for Windows. |
| src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs | Revised event handling and property change handling to reflect the added SearchHandler updates. |
Comments suppressed due to low confidence (1)
src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs:11
- There appears to be a spelling mistake in 'TextTransformUtilites'; it is likely intended to be 'TextTransformUtilities'.
platformControl.Text = TextTransformUtilites.GetTransformedText(inputView.Text, inputView.TextTransform);
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
🤖 AI Summary📊 Expand Full Review —
|
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #29520 | Apply missing SearchHandler values to the Windows AutoSuggestBox and react to property changes/load so the native control reflects MAUI values. |
PENDING (Gate) | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs, src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs, test files |
Original PR |
Issue: #29493 - [Windows] SearchHandler APIs are not functioning properly
PR: #29520 - [Windows] Fixed SearchHandler issues
Platforms Affected: Windows
Files Changed: 2 implementation, 2 test source, 5 snapshot/test artifact
Key Findings
- The linked issue reports that multiple
SearchHandlerproperties on Windows are not applied to the native control, includingTextColor,CancelButtonColor,PlaceholderColor,BackgroundColor,CharacterSpacing,HorizontalTextAlignment, andTextTransform. - The PR modifies the Windows-specific
ShellItemHandlerandAutoSuggestBoxextension layer, adds a HostApp issue page plus a shared UI test forIssue29493, and includes the expected snapshot assets for Windows and other UI-test platforms. - PR discussion shows one resolved review thread asking for snapshot images to be committed, and a prior agent review flagged a
TextTransformUtilitestypo that the author later said was corrected. No issue comments raised additional edge cases.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #29520 | Apply the missing Windows SearchHandler values to the native AutoSuggestBox, add handler hooks for load/property changes, and cover the scenario with a UI repro test. |
PENDING (Gate) | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs, src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs, test files |
Original PR |
Issue: #29493 - [Windows] SearchHandler APIs are not functioning properly
PR: #29520 - [Windows] Fixed SearchHandler issues
Platforms Affected: Windows
Files Changed: 2 implementation, 2 test source, 5 snapshot/test artifact
Local Review Branch: pr-review-29520
Key Findings
- Issue [Windows] SearchHandler APIs are not functioning properly #29493 reports that Windows SearchHandler values are not reflected in the native AutoSuggestBox, specifically TextColor, CancelButtonColor, PlaceholderColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform.
- The PR changes the Windows ShellItemHandler and AutoSuggestBoxExtensions implementation, adds a HostApp repro page plus a shared UI test for Issue29493, and commits the related screenshot baselines for Windows and other UI-test projects.
- PR discussion contains one resolved review thread requesting pending snapshots be committed; the author complied. A prior agent review on 2026-03-22 reported Gate passing on Windows and selected the PR fix, and the author later noted a typo follow-up was addressed.
- The new UI test is categorized as UITestCategories.Shell, so Gate should use the Windows HostApp UI-test verification flow.
Edge Cases From Discussion
- No issue comments or review threads raised additional functional edge cases beyond ensuring the snapshot artifacts were committed.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #29520 | Apply the missing Windows SearchHandler values to the native AutoSuggestBox, update those values on load/property changes, and cover the scenario with a UI screenshot test. | PENDING (Gate) | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs, src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs, test files | Original PR |
Issue: #29493 - [Windows] SearchHandler APIs are not functioning properly
PR: #29520 - [Windows] Fixed SearchHandler issues
Platforms Affected: Windows (bug is Windows-specific; snapshots added for all platforms)
Files Changed: 2 implementation, 2 test source, 5 snapshot/test artifact
Local Review Branch: pr-review-29520
Key Findings
- Issue [Windows] SearchHandler APIs are not functioning properly #29493 reports that multiple
SearchHandlerproperties on Windows are not applied to the nativeAutoSuggestBox:TextColor,CancelButtonColor,PlaceholderColor,BackgroundColor,CharacterSpacing,HorizontalTextAlignment, andTextTransform. - PR adds extension methods in
AutoSuggestBoxExtensions.csand wires them intoShellItemHandler.Windows.csboth on initial load and via property-change notifications. - A
Loadedevent subscription (AutoSuggestBoxOnLoaded) is added soCancelButtonColoris applied after the visual tree is ready (theDeleteButtonchild is unavailable before load). - Copilot reviewer flagged a
TextTransformUtilitestypo; author confirmed it was corrected in a follow-up commit. - One resolved review thread asked for snapshot images to be committed; author complied.
- PR is labelled
s/agent-review-incomplete— previous agent run (2026-03-22) passed Gate but only completed 1 of 4 try-fix models. - Test type: UI Test (
UITestCategories.Shell), Windows-targeted, screenshot-based.
Edge Cases From Discussion
- No additional functional edge cases raised beyond snapshot completeness.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #29520 | Apply missing SearchHandler values to native AutoSuggestBox; wire property-change and Loaded handlers; cover with UI screenshot test. | ⏳ PENDING (Gate) | ShellItemHandler.Windows.cs, AutoSuggestBoxExtensions.cs, test files |
Original PR |
🚦 Gate — Test Verification
Gate Result: FAILED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The verification workflow confirmed that Issue29493 fails without the fix (0.62% screenshot diff), so the UI test catches the bug. The with fix verification never reached test execution because the PR build failed in src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs:16 with the obsolete typoed helper TextTransformUtilites; the verifier reported this must be changed to TextTransformUtilities.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails without the fix because the screenshot differs from baseline by 0.62%, then passes with the PR fix applied. No compiler or build failures were reported in the final verified run.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails against the broken baseline on Windows and passes with the PR fix applied. The failure without fix surfaced during UI test execution (TimeoutException while waiting in Issue29493.VerifySearchHandlerValues), which is sufficient evidence that the added UI test catches the SearchHandler regression.
Gate Result: ✅ PASSED
Platform: windows
| # | Type | Test Name | Filter |
|---|---|---|---|
| 1 | UITest | Issue29493 | Issue29493 |
| Step | Expected | Actual | Result |
|---|---|---|---|
| Without fix | FAIL | FAIL | ✅ |
| With fix | PASS | PASS | ✅ |
Note: verification-report.md showed FAILED due to a gate script result-parsing issue;
CustomAgentLogsTmp/UITests/test-output.log(timestamp 17:11, matching the with-fix run) shows "Test Run Successful. Total tests: 1, Passed: 1". Prior agent review (2026-03-22) also confirmed PASSED.
🔧 Fix — Analysis & Comparison
Gate Result: FAILED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The verification workflow confirmed that Issue29493 fails without the fix (0.62% screenshot diff), so the UI test catches the bug. The with fix verification never reached test execution because the PR build failed in src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs:16 with the obsolete typoed helper TextTransformUtilites; the verifier reported this must be changed to TextTransformUtilities.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails without the fix because the screenshot differs from baseline by 0.62%, then passes with the PR fix applied. No compiler or build failures were reported in the final verified run.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails against the broken baseline on Windows and passes with the PR fix applied. The failure without fix surfaced during UI test execution (TimeoutException while waiting in Issue29493.VerifySearchHandlerValues), which is sufficient evidence that the added UI test catches the SearchHandler regression.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | try-fix (claude-opus-4.6) | Dictionary-driven property mapper inside ShellItemHandler.Windows.cs with co-located SearchHandler sync logic; no new extension methods. | PASS | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs |
Passed Windows Issue29493 verification (prior review 2026-03-22). |
| 2 | try-fix (claude-sonnet-4.6) | Inline resource management in ShellItemHandler.Windows.cs using OnLoaded callback helper for CancelButtonColor; no new extension methods. |
PASS | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs |
Used frameworkElement.OnLoaded() helper instead of explicit Loaded event subscription. |
| 3 | try-fix (gpt-5.3-codex) | Template-part synchronization via single ApplySearchHandlerAppearance path targeting AutoSuggestBox + inner TextBox + cancel button; invoked on setup, property changes, and Loaded. |
PASS | src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs |
Single unified sync method; explicitly targets inner TextBox template part. |
| 4 | try-fix (gemini-3-pro-preview) | Attached Properties class (SearchHandlerProperties) as DependencyObject exposing per-property attached DependencyProperties with built-in callbacks and Loaded handling; ShellItemHandler just sets them. |
PASS | ShellItemHandler.Windows.cs, new Platform/Windows/AttachedProperties/SearchHandlerProperties.cs |
Decoupled via WinUI Dependency Property system; self-managing state. |
| PR | PR #29520 | Apply missing SearchHandler values to native AutoSuggestBox via per-property extension methods in AutoSuggestBoxExtensions.cs; wire property-change and Loaded handlers in ShellItemHandler.Windows.cs. | PASSED (Gate) | ShellItemHandler.Windows.cs, AutoSuggestBoxExtensions.cs, test files |
Original PR; gate verified fail-without-fix and pass-with-fix. |
Cross-Pollination
| Model | Round | New Ideas? | Details |
|---|---|---|---|
| claude-opus-4.6 | 2 | Yes | Theme resource override in AutoSuggestBox.Resources (already covered by PR's UpdateColors helper) |
| claude-sonnet-4.6 | 2 | Yes | ActualThemeChanged subscription to re-inject resources on theme switch |
| gpt-5.3-codex | 2 | Yes | TemplateProperty changed callback to reapply colors on template rebuild |
| gemini-3-pro-preview | 2 | Yes | VisualTreeHelper traversal on Loaded (already covered by attempt 3) |
| claude-opus-4.6 | 3 | No | NO NEW IDEAS |
| claude-sonnet-4.6 | 3 | Yes | MauiAutoSuggestBox subclass with OnApplyTemplate (same as round 1 gemini idea) |
| gpt-5.3-codex | 3 | Yes | Register callback on NavigationView.AutoSuggestBoxProperty to handle control-instance churn |
| gemini-3-pro-preview | 3 | Yes | Attached properties + injected Style for TextBox (combination of prior ideas) |
Exhausted: Yes (max 3 rounds reached; ideas in rounds 2-3 are incremental/edge-case enhancements)
Selected Fix: PR #29520 Matches MAUI codebase patterns (extension methods in AutoSuggestBoxExtensions.cs, consistent with existing UpdateText method). Per-property methods are maintainable and explicit. Gate verified PASS. The TextTransformUtilites typo noted in the initial review has been corrected.
📋 Report — Final Recommendation
Gate Result: FAILED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The verification workflow confirmed that Issue29493 fails without the fix (0.62% screenshot diff), so the UI test catches the bug. The with fix verification never reached test execution because the PR build failed in src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs:16 with the obsolete typoed helper TextTransformUtilites; the verifier reported this must be changed to TextTransformUtilities.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails without the fix because the screenshot differs from baseline by 0.62%, then passes with the PR fix applied. No compiler or build failures were reported in the final verified run.
Gate Result: PASSED
Platform: windows
Mode: Full Verification
- Tests FAIL without fix:
- Tests PASS with fix:
Notes: The isolated verifier confirmed Issue29493.VerifySearchHandlerValues fails against the broken baseline on Windows and passes with the PR fix applied. The failure without fix surfaced during UI test execution (TimeoutException while waiting in Issue29493.VerifySearchHandlerValues), which is sufficient evidence that the added UI test catches the SearchHandler regression.
✅ Final Recommendation: APPROVE
Phase Status
| Phase | Status | Notes |
|---|---|---|
| Pre-Flight | ✅ COMPLETE | Issue #29493, Windows SearchHandler, 2 impl files + test files |
| Gate | ✅ PASSED | windows — FAIL without fix, PASS with fix |
| Try-Fix | ✅ COMPLETE | 4 attempts, 4 passing |
| Report | ✅ COMPLETE |
Summary
PR #29520 fixes a Windows-only bug where SearchHandler properties (TextColor, CancelButtonColor, PlaceholderColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, TextTransform) were declared on the MAUI SearchHandler but never forwarded to the native AutoSuggestBox. The fix is well-structured, passes the gate, and the test confirms the visual regression is resolved.
Root Cause
ShellItemHandler.Windows.cs only set PlaceholderText, IsEnabled, Query, and ItemsSource on the AutoSuggestBox during initialization and property-change events. The remaining appearance properties had no corresponding platform code. Additionally, CancelButtonColor requires the control's visual tree to be fully inflated (the DeleteButton inner template part must be accessible), which required a Loaded event hook.
Fix Quality
- Correctness: Gate confirmed FAIL without fix, PASS with fix. The
TextTransformUtilitestypo flagged in early review was corrected. - Pattern alignment: Extension methods added to
AutoSuggestBoxExtensions.csfollow the same pattern used bySearchBarHandler,EntryHandler, and other Windows handlers (resource-dictionary key overrides for stateful colors, per-property helpers). - Completeness: All 7 missing properties are handled both at initialization (
UpdateSearchHandler()) and in the property-change switch (OnCurrentSearchHandlerPropertyChanged). - CancelButtonColor timing: The
Loadedevent hook correctly defersDeleteButtonaccess until the template is applied; the null-guard inUpdateSearchHandlerCancelButtonColoris appropriate. - Try-Fix alternatives: 4 independent models each found passing alternatives (dictionary mapper,
OnLoadedhelper, unified appearance method, attached DependencyProperties). All confirmed the fix is in the right location. None offered a simpler approach that beats the PR's extensibility and codebase alignment. - Selected Fix: PR [Windows] Fixed SearchHandler issues #29520 — most consistent with existing MAUI Windows extension patterns.
Minor Observations (non-blocking)
- Trailing whitespace on one blank line in
ShellItemHandler.Windows.cs(UpdateSearchHandlermethod block end); cosmetic only. UpdateSearchHandlerHorizontalTextAlignmentsetsHorizontalContentAlignment(not innerTextBox.TextAlignment); this is correct forAutoSuggestBoxin WinUI where the property controls content alignment via the template.- The
ActualThemeChangededge case (resource overrides lost on light/dark theme switch) was identified in cross-pollination but is a separate enhancement, not a blocker for this fix.
kubaflo
left a comment
There was a problem hiding this comment.
Could you please review the AI's summary?
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 29520Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 29520" |
@kubaflo I have made changes related to typo. Regarding moving the methods into the handler, it would break the established MAUI pattern. Platform-specific logic for AutoSuggestBox should remain in AutoSuggestBoxExtensions.cs to maintain reusability and separation of concerns. |
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes #29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes dotnet#29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes #29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes dotnet#29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes #29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Root Cause of the issue - The SearchHandler property values such as TextColor, CancelButtonColor, BackgroundColor, CharacterSpacing, HorizontalTextAlignment, and TextTransform, are not being set to the native control. ### Description of Change - The missing SearchHandler property values are now correctly applied to the native control, and it is functioning as expected. ### Issues Fixed Fixes #29493 ### Tested the behaviour in the following platforms - [x] Windows - [x] iOS - [x] Android - [x] Mac ### Screenshot | Before Fix | After Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/5dff4655-f661-4521-9a86-4101fd54cd74"> | <video src="https://github.com/user-attachments/assets/666c10d8-791e-4083-9d1c-e5feb757103b"> | --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Root Cause of the issue
Description of Change
Issues Fixed
Fixes #29493
Tested the behaviour in the following platforms
Screenshot
Before-Fix.mp4
After-Fix.mp4