Repository navigation
Redesign DataBindingDemos with the gallery design system - #796
Open
jfversluis wants to merge 2 commits into
Open
jfversluis wants to merge 2 commits into
jfversluis wants to merge 2 commits into
Conversation
Apply the shared gallery design system (Inter, Material Icons Round, light and dark color tokens, demo page header and cards) to every page, and replace the Shell home page with a searchable, categorized home page that links all 29 demos. Pages that weren't reachable before (relative bindings, compiled bindings, and commanding) are now listed. Replace the Wikimedia monkey photos and the fallback image with bundled Microsoft Fluent Emoji (MIT), and use the .NET 11 rocket bot. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Nov 28, 2026
Inter ships one static file per face and the fonts are registered by alias, so MAUI's iOS font manager loads them with UIFont.FromName and ignores FontAttributes. "Italic" rendered upright on iOS, while Android synthesized it. - Bundle Inter Italic and Bold Italic (Inter 4.1, SIL OFL 1.1, covered by the existing Inter-LICENSE.txt), subset the same way as the existing Inter files. - Pick the italic face with FontFamily on the two labels that use italic, and restore FontAttributes="Italic, Bold" on the Switch indicators style. - Note in Styles.xaml that weight and slant come from the font family. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jfversluis
added a commit
to dotnet/docs-maui
that referenced
this pull request
Nov 28, 2026
dotnet/maui-samples#796 (9a08dfec) uses the Inter italic faces, so the Location label on the monkey details page and the "Indubitably!" label now render italic on iOS, as the excerpts' FontAttributes describe. Recapture bindingunavailable-detail-net11.png and switchindicators-net11.png in the same states and crops. The excerpts are unchanged because they don't show the sample-only FontFamily. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
davidortinau
added a commit
to dotnet/docs-maui
that referenced
this pull request
Dec 1, 2026
…3643) * Data binding: fix the French day-name excerpt Match the sample and its screenshot ("in French", not "in France") and remove a stray comma between XAML attributes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Data binding (.NET 11): add screenshots and excerpts for redesigned DataBindingDemos Add .NET 11 versions of all 18 data binding screenshots (*-net11.png) from the redesigned DataBindingDemos sample behind >=net-maui-11.0. Earlier versions keep the original screenshots. Split excerpts that changed with the redesign the same way: the TargetNullValue example uses a CollectionView and the bundled red_question_mark.png, the path example binds to the named VerticalStackLayout and explains why it reports 3 children, the BoolToObjectConverter colors, and the Self binding BoxView. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Data binding (.NET 11): apply review fixes Add the "Select a time:" label so the path example reports 3 children as the screenshot shows, and explain the count. Describe the .NET 11 layout type in the debugging walkthrough, use per-card colors in the TemplatedParent example, show the as-opened Sienna state for the compiled color selector, and refer to labels by what they display rather than by position. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Data binding (.NET 10 and earlier): fix the path and Self examples Match the 10.0 DataBindingDemos sample in the path example: name the StackLayout and bind Children.Count to it (a page has no Children), declare the label that the last binding references, and include the "Select a time:" label. Describe the third Label accordingly. In the Self example, use x:DataType="BoxView", because the binding source is the BoxView itself. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Data binding (.NET 11): recapture italic labels in two screenshots dotnet/maui-samples#796 (9a08dfec) uses the Inter italic faces, so the Location label on the monkey details page and the "Indubitably!" label now render italic on iOS, as the excerpts' FontAttributes describe. Recapture bindingunavailable-detail-net11.png and switchindicators-net11.png in the same states and crops. The excerpts are unchanged because they don't show the sample-only FontFamily. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: David Ortinau <david.ortinau@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
9a08dfecb1c8487f488d9c2a07200790da273be5↑ All 31 screens captured before and after in light and dark on an iPhone 18 Pro simulator and a physical Pixel 10.
↑ Pixel 10 real-touch: all 29 demos opened from the home page, and every page's interactions checked.
↑ Italic fix reproduced first (upright on an iPhone 17 Pro simulator, iOS 27.2), then verified italic and bold italic on iOS and Pixel 10, including switch on, off and on again.
↑ Pixel 10 shows no double slant or extra bolding with the real italic faces (same ink as before).
↑ New Inter subsets use the recipe that reproduces the bundled Regular and Bold byte for byte.
↑ GPT, Gemini and Sonnet reviews of the redesign and of the italic fix; findings addressed.
↑ CI passed on macos-26 and windows-latest for this head, both building DataBindingDemos.
↓ iOS checked with DevFlow taps and a startup harness on a sample of pages; docs states driven through code.
↓ Windows and Mac Catalyst not run interactively.
Redesigns
11.0/Fundamentals/DataBindingDemoswith the shared gallery design system used by ControlGallery (#791), CollectionViewDemos (#793) and PlatformIntegrationDemos (#792). Each page still demonstrates one data binding concept, and the binding markup is unchanged apart from layout and styling, so docs excerpts stay recognizable.What changed
NavigationPagereplaces the single-pageShell.Controls/CodePageLayout.cshelper so their binding code is unchanged.Resources/Images/Animalsfolder, license file, and name mapping as CollectionViewDemos. Seated Monkey and Face-Palm Monkey still have no image, on purpose, for theTargetNullValuedemo.fallbackImageUrlinApp.xamlchanges from a Wikimedia URL tored_question_mark.png(the Fluent Emoji red question mark, bundled). The resource key is unchanged, so{StaticResource fallbackImageUrl}still works as documented.user.png,expand.pngandcollapse.pngremoved; card avatars and the expander chevron use Material Icons.FontAttributesfor them (Android fakes the slant). Inter Italic and Bold Italic (same Inter 4.1 source and OFL license, subset like the other Inter files) are now bundled and picked withFontFamilyon the binding fallbacks location label and the "Indubitably!" switch style, which gets back its documentedFontAttributes="Italic, Bold".Screenshots
The screenshots follow your GitHub theme (light or dark). Pages: home, code binding, simple color selector, binding fallbacks, TemplatedParent, and person entry.
iOS (iPhone 18 Pro simulator), before and after:
Android (Pixel 10), before and after:
Validation
StringFormat, converter-enabled buttons, the three switch converters, monkey list to details withFallbackValueandTargetNullValue, FindAncestor Delete, expander collapse, color list selection, Person entryCanExecutestates, and the decimal keypad.