Skip to content

.NET 11 RC2 docs: Apple handler migration and Shell opt-in - #3573

Merged
jfversluis merged 1 commit into
dotnet:mainfrom
davidortinau:davidortinau-rc2-handler-migration-docs
Oct 13, 2026
Merged

jfversluis merged 1 commit into
dotnet:mainfrom
davidortinau:davidortinau-rc2-handler-migration-docs

Conversation

@davidortinau

@davidortinau davidortinau commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Document the .NET MAUI 11 RC2 handler changes without changing guidance for .NET 10 and earlier.

  • Add iOS and Mac Catalyst Shell opt-in through the UseiOSShellHandler project property. Explain the automatic registration of ShellHandler, ShellItemHandler, ShellSectionHandler, and ShellContentHandler.
  • Document the actual protected virtual factory hooks and a custom tab-bar appearance tracker. Keep ShellRenderer as the default and preserve existing renderer customizations.
  • Explain obsolete warnings for legacy Apple CollectionView and CarouselView handler APIs, and show migration to Items2.CollectionViewHandler2 and Items2.CarouselViewHandler2.
  • Preserve the Apple legacy handler compatibility registrations. State that the controls themselves are not obsolete and that legacy Windows CollectionView handler APIs remain supported and are not obsolete.

Files changed

  • docs/fundamentals/shell/custom-handlers.md
  • docs/user-interface/controls/collectionview/index.md
  • docs/user-interface/controls/carouselview/index.md

The new guidance is limited to >=net-maui-11.0. All three pages have current dates and ai-usage: ai-assisted. No sample, general handler article, or separator guidance is changed.

Source verification

Checked against MAUI commit d32b79928709cf53b671336dabd0caef5a679fc2, not only the original PR descriptions:

Validation

  • Targeted repository Markdown lint: zero issues.
  • Source/API checks for factory signatures, registration shapes, feature defaults, obsolete attributes, and compatibility paths passed.
  • Local links, anchors, metadata, XML fragments, code fences, and platform guards passed.
  • Version-filtered page content for .NET 8, 9, and 10 matches the base.
  • Direct staged review and git diff --cached --check passed.
  • Remote file bytes match the commit and worktree. The PR contains exactly the three files listed above.
  • Hosted results for commit d5a3ec5b0ef973024615014515403ba5f9c8d9a4: OpenPublishing.Build, MSDocs build verifier, lint, Look for build warnings, Add preview links and annotate files, Check base branch, PoliCheck Scan, and license/cla all passed. The Learn build report marks all three pages as succeeded. No checks remain pending or failed.

Native code examples were checked against source/API signatures but were not compiled or run. Existing workflow annotations concern Node.js 20 deprecation and the upcoming Ubuntu runner image change; they are unrelated to this documentation change.

Existing PR scope

#3246 changes CollectionView separator guidance only. This PR leaves that content unchanged and does not duplicate its work.


Internal previews

File Preview link
docs/fundamentals/shell/custom-handlers.md Learn preview
docs/user-interface/controls/carouselview/index.md Learn preview
docs/user-interface/controls/collectionview/index.md Learn preview

Build report

Document the opt-in Apple Shell handler hierarchy and customization hooks. Explain Apple Items2 migration while retaining compatibility paths and Windows legacy handler support.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d67c931f-b0d5-48f2-a16e-1ddc32dd185a
Copilot AI balanced review requested due to automatic review settings October 8, 2026 21:44
@davidortinau
davidortinau requested a review from a team as a code owner October 8, 2026 21:44
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit d5a3ec5:

✅ Validation status: passed

File Status Preview URL Details
docs/fundamentals/shell/custom-handlers.md ✅Succeeded View (>=net-maui-8.0)
docs/user-interface/controls/carouselview/index.md ✅Succeeded View (>=net-maui-8.0)
docs/user-interface/controls/collectionview/index.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The version-scoped guidance and examples align with the referenced RC2 source and APIs.

0 open findings

What changed in this PR

Documents .NET MAUI 11 RC2 migration guidance for Apple Shell and item handlers while preserving earlier-version behavior.

Changes:

  • Adds Apple Shell handler opt-in, customization, and registration guidance.
  • Documents CollectionView and CarouselView migration to Items2 handlers.
  • Clarifies legacy compatibility and Windows support.
File Description
docs/​fundamentals/​shell/​custom-handlers.md Adds Apple Shell handler guidance and example.
docs/​user-interface/​controls/​collectionview/​index.md Adds Apple migration and Windows compatibility details.
docs/​user-interface/​controls/​carouselview/​index.md Adds Apple handler migration guidance.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jfversluis
jfversluis merged commit c9849d2 into dotnet:main Oct 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants