Skip to content

Migrate Shell namespace API docs from external XML to inline#33628

Merged
jfversluis merged 1 commit intomainfrom
docs/api-docs-shell-inline
Jan 21, 2026
Merged

Migrate Shell namespace API docs from external XML to inline#33628
jfversluis merged 1 commit intomainfrom
docs/api-docs-shell-inline

Conversation

@jfversluis
Copy link
Member

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!

Description

This PR migrates API documentation for the Shell namespace from external XML files to inline XML doc comments.

What was done:

  • Migrated 19 Shell-related classes from external XML doc references to inline XML documentation
  • Deleted 22 Shell-related XML files from src/Controls/docs/Microsoft.Maui.Controls/
  • Made documentation concise (1-2 lines per guidelines)
  • Added "This is a bindable property." notation where appropriate

Classes migrated:

  • Core Shell: Shell, BaseShellItem, ShellItem, ShellSection, ShellContent, ShellGroupItem
  • Appearance/Search: ShellAppearance, SearchHandler, BackButtonBehavior
  • Navigation: ShellNavigationState, ShellNavigatingEventArgs, ShellNavigatedEventArgs, ShellNavigatingDeferral
  • Enums: ShellNavigationSource, FlyoutDisplayOptions, FlyoutHeaderBehavior, PresentationMode
  • Other: MenuItemCollection, QueryPropertyAttribute
  • Aliases: FlyoutItem, TabBar, Tab

This is PR 2 of a series to achieve 100% API documentation coverage.

Testing

  • Build succeeds with 0 warnings, 0 errors

- Migrate 19 Shell-related classes from external XML doc references to inline XML documentation
- Delete 22 Shell-related XML files from src/Controls/docs/Microsoft.Maui.Controls/
- Update documentation to be concise and follow guidelines
- Add 'This is a bindable property.' where appropriate

Classes migrated:
- Shell, BaseShellItem, ShellItem, ShellSection, ShellContent, ShellGroupItem
- ShellAppearance, SearchHandler, BackButtonBehavior
- ShellNavigationState, ShellNavigatingEventArgs, ShellNavigatedEventArgs, ShellNavigatingDeferral
- ShellNavigationSource, FlyoutDisplayOptions, FlyoutHeaderBehavior, PresentationMode
- MenuItemCollection, QueryPropertyAttribute
- FlyoutItem, TabBar, Tab (aliases in ShellItem.cs and ShellSection.cs)

Part of API documentation coverage improvement initiative (PR 2).
Copilot AI review requested due to automatic review settings January 20, 2026 18:01
@jfversluis jfversluis added the area-docs Conceptual docs, API docs, Samples label Jan 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates API documentation for 19 Shell-related classes from external XML files to inline XML doc comments. The migration covers core Shell navigation components including Shell, ShellItem, ShellSection, ShellContent, navigation event args, enums, and supporting classes. The documentation follows concise guidelines with 1-2 line summaries and adds "This is a bindable property." notation where appropriate.

Changes:

  • Migrated inline documentation for 19 Shell namespace classes replacing external XML include directives
  • Deleted 22 corresponding external XML documentation files
  • Applied concise documentation style with proper <see cref> references and bindable property annotations

Reviewed changes

Copilot reviewed 40 out of 41 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ShellSection.cs Added inline docs for Tab alias and ShellSection with constructor, properties (CurrentItem, Items, Stack)
ShellNavigationState.cs Added inline docs for navigation state class with Location property and constructors
ShellNavigationSource.cs Added inline enum docs for navigation source types (Push, Pop, etc.)
ShellNavigatingEventArgs.cs Added inline docs for Navigating event args with navigation state properties and cancellation
ShellNavigatingDeferral.cs Added inline docs for deferral class to support async navigation
ShellNavigatedEventArgs.cs Added inline docs for Navigated event args with Previous, Current, Source properties
ShellItem.cs Added inline docs for FlyoutItem, TabBar aliases and ShellItem with collections and properties
ShellGroupItem.cs Added inline docs for base grouping class with FlyoutDisplayOptions
ShellContent.cs Added inline docs for content class with MenuItems, Content, ContentTemplate properties
ShellAppearance.cs Added inline docs for appearance class with color/brush properties and helper methods
Shell.cs Added inline docs for main Shell class with Current, navigation methods, Items collection
SearchHandler.cs Added inline docs for search functionality with focus, keyboard, formatting properties
QueryPropertyAttribute.cs Added inline docs for query parameter mapping attribute
PresentationMode.cs Added inline enum docs for page presentation modes
MenuItemCollection.cs Added inline docs for MenuItem collection with standard collection methods
FlyoutHeaderBehavior.cs Added inline enum docs for flyout header scroll behavior
FlyoutDisplayOptions.cs Added inline enum docs for flyout display options
BackButtonBehavior.cs Added inline docs for back button customization with command, icon, text properties
*.xml (deleted) Removed 22 external XML documentation files that were migrated inline

@jfversluis jfversluis merged commit 84248c2 into main Jan 21, 2026
30 of 34 checks passed
@jfversluis jfversluis deleted the docs/api-docs-shell-inline branch January 21, 2026 09:19
@github-actions github-actions bot locked and limited conversation to collaborators Feb 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-docs Conceptual docs, API docs, Samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants