Skip to content

XAML fundamentals (.NET 11): screenshots and excerpts for the redesigned XamlSamples sample - #3645

Merged
davidortinau merged 5 commits into
mainfrom
jfversluis-docs-xaml-fundamentals-redesign
Dec 1, 2026
Merged

davidortinau merged 5 commits into
mainfrom
jfversluis-docs-xaml-fundamentals-redesign

Conversation

@jfversluis

@jfversluis jfversluis commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 6c43944c4f6284e999b32905e7986d287e261560

Dimension Assessment Rationale
Change confidence 8.5/10 ↑ A per-version render script confirms balanced monikers and existing image paths: .NET 8–10 render the original images, .NET 11 renders the 14 -net11 images.
↑ The .NET 11 excerpts were compared line by line with the redesigned tutorial pages in dotnet/maui-samples#798 (63b14608), and the .NET 10 view was compared with main.
↑ GPT 6.1 technical review found no issues; Sonnet reader review findings were applied, and the follow-up structure fixes were reviewed again.
↑ All PR checks passed on this revision.
↓ No local DocFX build, and the tutorial XAML wasn't compiled as written.
↓ dotnet/maui-samples#798 isn't merged yet.

Summary

The XamlSamples sample (xaml-fundamentals) was visually redesigned for .NET 11 in dotnet/maui-samples#798. The redesign exists only in the .NET 11 samples, so this PR adds the new screenshots and matching tutorial code behind >=net-maui-11.0 monikers. .NET 8–10 keep the original screenshots and code. It uses the same -net11.png naming as #3640, #3642, #3643, and #3644.

These are type-along tutorials, so the .NET 11 page XAML matches the sample's tutorial pages. The sample's look comes from app-wide styles, and each page has a .NET 11 note that explains this.

Changes (5 pages under xaml/fundamentals/)

  • Screenshots: 14 new *-net11.png files next to the originals, light theme at 1x. iOS and Android are used as before. get-started/new-solution.png is a Visual Studio screenshot, so both versions share it.
  • .NET 11 excerpts (match Redesign XamlSamples with the gallery design system and add .NET 11 XAML pages maui-samples#798):
    • Hello XAML uses MediumSlateBlue.
    • The Grid example uses the new colors.
    • Shared resources uses the new OnPlatform colors and spacing.
    • Static constants uses the new AppConstants values, a BoxView margin, and no page padding.
    • Slider bindings has spacing.
    • Slider transforms has no page padding, and the label spans both columns, as in the sample.
    • The keypad backspace button uses ← (←), because the sample's Inter font has no ⇦ (⇦) glyph.
  • .NET 11 CollectionView section in data binding basics: the 11.0 sample uses CollectionViewDemoPage, and ListView is deprecated in .NET 10. The three steps (no template, name only, full template) use CollectionView with DataTemplate content. .NET 10 and earlier keep ListView and get a note that it's deprecated in .NET 10.
  • get-started structure:
    • The explanation of the Hello XAML example now follows it again.
    • In .NET 11, "XAML Source Generation" says it's the default, and "Implicit namespace declarations" is its own section instead of sitting under the preview section.
  • Fixes for all versions:
    • The slider transforms text names the Rotation, RotationX, and RotationY properties.
    • The MVVM text refers to VerticalStackLayout, as the code does.
    • A typo ("dsplays").
  • ai-usage: ai-assisted and ms.date are added to the changed pages.

No existing image file is removed or changed.

Before and after

Before (.NET 10 and earlier) After (.NET 11)
Grid before Grid after
Static constants before Static constants after
Slider transforms before Slider transforms after
Item template before Item template after
Keypad before Keypad after

Notes for reviewers

Sample PR: dotnet/maui-samples#798

jfversluis and others added 4 commits November 28, 2026 20:31
The 11.0 XamlSamples sample uses CollectionViewDemoPage, and ListView
is deprecated in .NET 10. Add a .NET 11 version of the bindings and
collections section that uses CollectionView with DataTemplate content
instead of ListView and ViewCell. Earlier versions keep ListView, which
matches the 10.0 sample. Also fix a typo (dsplays).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…XamlSamples

Add .NET 11 versions of 14 tutorial screenshots (*-net11.png) from the
redesigned XamlSamples sample behind >=net-maui-11.0. Earlier versions
keep the original screenshots. new-solution.png isn't from the sample
and is unchanged.

Split the tutorial page excerpts that changed with the redesign:
HelloXamlPage (MediumSlateBlue), GridDemoPage colors,
SharedResourcesPage OnPlatform colors and spacing, StaticConstantsPage
AppConstants values and BoxView margin, SliderBindingsPage spacing, and
SliderTransformsPage (no page padding, label spans both columns, as in
the sample).

For all versions, the slider transforms text now names the Rotation,
RotationX, and RotationY properties.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Make the .NET 11 styling note specific, say that the shared resources
screenshot is from Android, explain SelectionMode in the CollectionView
example, and refer to VerticalStackLayout in the MVVM prose to match the
code (all versions).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- get-started: move the explanation of the Hello XAML example back
  under it, promote the .NET 11 implicit namespace section out of the
  preview section and point the earlier note at it, and say that XAML
  source generation is the default in .NET 11.
- data-binding-basics: note that ListView is deprecated in .NET 10.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@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.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit cbef514:

💡 Validation status: suggestions

File Status Preview URL Details
docs/xaml/fundamentals/media/data-binding-basics/listview1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/listview2-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/listview3-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/slidertransforms-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/essential-syntax/grid-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/helloxaml1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/xamlpluscode1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/xamlpluscode2-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/markup-extensions/sharedresources-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/markup-extensions/staticconstants-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/clock-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/hslcolorscroll-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/keypad-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/oneshotdatetime-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/data-binding-basics.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/essential-syntax.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/get-started.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/markup-extensions.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/mvvm.md ✅Succeeded View (>=net-maui-8.0)

docs/xaml/fundamentals/media/data-binding-basics/listview1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/listview2-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/listview3-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/slidertransforms-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/essential-syntax/grid-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/helloxaml1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/xamlpluscode1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/xamlpluscode2-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/markup-extensions/sharedresources-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/markup-extensions/staticconstants-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/clock-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/hslcolorscroll-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/keypad-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/oneshotdatetime-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

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

No active review issues were reported for the version-specific XAML tutorial updates.

No open issues 🎉

What changed in this PR

Updates the XAML fundamentals tutorials to reflect the redesigned .NET 11 XamlSamples sample, while preserving the original screenshots and examples for .NET 8–10.

Changes:

  • Adds version-specific screenshot references and matching .NET 11 examples, with notes explaining sample-wide styling.
  • Introduces a .NET 11 CollectionView walkthrough while retaining the earlier ListView guidance.
  • Clarifies XAML source-generation defaults, reorganizes introductory explanations, and corrects terminology and typos.
File Description
docs/​xaml/​fundamentals/​mvvm.md Versions screenshots and corrects the layout type in the binding explanation.
docs/​xaml/​fundamentals/​markup-extensions.md Adds .NET 11 resource colors, constants, layout adjustments, and screenshots.
docs/​xaml/​fundamentals/​get-started.md Updates Hello XAML, versions screenshots, and clarifies source generation and namespaces.
docs/​xaml/​fundamentals/​essential-syntax.md Adds the redesigned .NET 11 Grid example and screenshot.
docs/​xaml/​fundamentals/​data-binding-basics.md Adds .NET 11 slider examples and CollectionView guidance, and corrects rotation property names.

Review effort: Balanced

The redesigned sample uses U+2190 for the backspace button because the
Inter font has no U+21E6 glyph (dotnet/maui-samples#798, 63b14608).
Split the KeypadPage excerpt by version and replace keypad-net11.png
with the recapture. Earlier versions keep U+21E6.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@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.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 6c43944:

💡 Validation status: suggestions

File Status Preview URL Details
docs/xaml/fundamentals/media/data-binding-basics/listview1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/listview2-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/listview3-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/data-binding-basics/slidertransforms-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/essential-syntax/grid-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/helloxaml1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/xamlpluscode1-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/get-started/xamlpluscode2-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/markup-extensions/sharedresources-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/markup-extensions/staticconstants-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/clock-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/hslcolorscroll-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/keypad-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/media/mvvm/oneshotdatetime-net11.png 💡Suggestion View (>=net-maui-8.0) Details
docs/xaml/fundamentals/data-binding-basics.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/essential-syntax.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/get-started.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/markup-extensions.md ✅Succeeded View (>=net-maui-8.0)
docs/xaml/fundamentals/mvvm.md ✅Succeeded View (>=net-maui-8.0)

docs/xaml/fundamentals/media/data-binding-basics/listview1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/listview2-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/listview3-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/data-binding-basics/slidertransforms-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/essential-syntax/grid-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/helloxaml1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/xamlpluscode1-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/get-started/xamlpluscode2-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/markup-extensions/sharedresources-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/markup-extensions/staticconstants-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/clock-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/hslcolorscroll-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/keypad-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

docs/xaml/fundamentals/media/mvvm/oneshotdatetime-net11.png

  • Line 0, Column 0: [Suggestion: image-name-incomplete - See documentation] The image name contains an incomplete word, misspelled word, acronym, or abbreviation that is disallowed.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@davidortinau
davidortinau enabled auto-merge (squash) December 1, 2026 16:09
@davidortinau
davidortinau merged commit ac09420 into main Dec 1, 2026
9 checks passed
@davidortinau
davidortinau deleted the jfversluis-docs-xaml-fundamentals-redesign branch December 1, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants