microsoft-ui-xaml / TableViewSampleApp
AGENTS.md8.5k starsChanged 2 months agoMITView on GitHub
The end-user quick start is in README.md. This file records how the sample is wired and why, for anyone maintaining it. The sample used to hand-wire around the product, because TableView's type information was withheld from the public winmd and its theme resources did not resolve in a consuming app. It linked raw build output, regenerated its own CsWinRT projection, injected a XAML metadata provider, seeded an internal template part into XamlTypeInfo, compiled the control's theme resources out of the…
Trending
Quiet since August.about the whole repository
Who's talking about microsoft/microsoft-ui-xaml
- dotnet/maui“Cross platform UX for .NET 5”GitHub · Jul 18, 2017 · 217 reactions
- A Hacker News story“WinUI 3 Performance: A Leap Forward”Hacker News · May 14, 2026 · 121 points
- xamarin/Xamarin.Forms“Proposal: Simplify Grid Column and Row Definitions”GitHub · Aug 28, 2019 · 67 reactions
- dotnet/maui“[Enhancement] Cross platform media player”GitHub · Aug 27, 2021 · 44 reactions
- dotnet/maui“Support Global Exception Handling Mechanism for .NET MAUI”GitHub · Mar 23, 2022 · 41 reactions
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub, Hacker News and Bluesky (24 times).
On GitHub · 12
- Jul 18, 2017Cross platform UX for .NET 5 — dotnet/maui217 reactions · 31 comments
- Aug 28, 2019Proposal: Simplify Grid Column and Row Definitions — xamarin/Xamarin.Forms67 reactions · 13 comments
- Aug 27, 2021[Enhancement] Cross platform media player — dotnet/maui44 reactions · 23 comments
- Mar 23, 2022Support Global Exception Handling Mechanism for .NET MAUI — dotnet/maui41 reactions · 14 comments
- Apr 26, 2019Adds UWP support to Shell — xamarin/Xamarin.Forms39 reactions · 45 comments
7 more on GitHub
- Aug 28, 2019Proposal: Simplify Grid Column and Row Definitions — dotnet/wpf35 reactions · 7 comments
- Jun 22, 2019Support using Win2D with WinUI — microsoft/Win2D35 reactions · 28 comments
- May 19, 2020[WinUI3] Windows Community Toolkit 7.0.1 for Project Reunion 0.5 — CommunityToolkit/WindowsCommunityToolkit30 reactions · 49 comments
- Mar 18, 2020Proposal: Allow the App to Print without showing the Confirmation Dialog to user — microsoft/WindowsAppSDK28 reactions · 47 comments
- Oct 8, 2022Windows Unpackaged support in .NET MAUI — dotnet/maui27 reactions · 4 comments
- May 29, 2020Discussion: Decouple MSIX from AppContainer — microsoft/WindowsAppSDK26 reactions · 14 comments
- Aug 22, 2021BlazorWebView drag and drop does not work with MAUI Templates — dotnet/maui24 reactions · 96 comments
On Hacker News · 11
- May 14, 2026WinUI 3 Performance: A Leap Forward121 points · 141 comments
- Oct 25, 2023WinUI3 Source Available4 points
- Feb 13, 2022Dependency property is much slower in WinUI 3 than in WPF4 points
- Jul 1, 2019Windows UI Library Roadmap4 points
- Oct 25, 2023WinUI 3 is now open source3 points
6 more on Hacker News
- Aug 29, 2026WinUI development is now happening on GitHub2 points
- May 26, 2024Is WinUI 3 Dead?2 points
- Nov 13, 2019Windows UI Library Roadmap Update2 points
- Nov 6, 2019First WinUI 3.0 Alpha now available2 points
- Aug 2, 2025WinUI OSS Update: Phased Rollout Toward Open Collaboration1 point
- Jul 23, 2024Windows UI Library1 point
On Bluesky · 1
- Jan 26, 2025Over here: github.com/microsoft/mi... — @dotmorten.xaml.dev1 likes and repost · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- src/.github/copilot-instructions.mdCopilot instructions
- buildSkill
- code-reviewSkill
- test-on-vmSkill
- bt-buildSkill
- test-suite-setupSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If you find yourself reaching for one of those workarounds again, that is a signal the product regressed.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TableView sample — build notes
The end-user quick start is in README.md. This file records how the sample is wired and why, for anyone maintaining it.
There is nothing unusual here any more
The sample used to hand-wire around the product, because TableView's type information was withheld
from the public winmd and its theme resources did not resolve in a consuming app. It linked raw build
output, regenerated its own CsWinRT projection, injected a XAML metadata provider, seeded an internal
template part into XamlTypeInfo, compiled the control's theme resources out of the control source
tree, merged activatable-class registrations into its own app manifest, and staged the control DLL
next to the EXE.
None of that is needed. The project file is now ~60 lines and the sample is an ordinary package consumer, modelled on the ChartApp samples — the existing pattern in this repo for a separately-built control set.
If you find yourself reaching for one of those workarounds again, that is a signal the product regressed. Check, in order:
- Tabular types are in the public merged winmd (
MergedWinMD), not gated out. <ActivatableClass>registrations are emitted — they derive from the same merge inputs, so a withheld winmd silently removes them too.- The control's theme XBFs ship in the package and its default-style URI is authority-less
ms-appx:///, matching the path inAppxPriInitialPath.
How it builds
TableView is not in any published Microsoft.WindowsAppSDK.WinUI package yet, so the sample only
compiles against a locally packed component. Build.cmd samples handles that — it runs
pack.component.cmd and then builds every sample with the matching /p:WinUIVersion:
.\Build.cmd product
.\Build.cmd samplesBuilding the project on its own resolves Microsoft.WindowsAppSDK.WinUI from the feed instead, and
fails with CS0234: The type or namespace name 'Tabular' does not exist — the package is real, it
just predates Tabular in the public winmd. To iterate on this app alone, pack and override:
.\pack.component.cmd /version 3.0.0-mylocal
.\initrun.ps1 msb /q /restore Samples\TableViewSampleApp\TableViewSampleApp.csproj /p:Platform=x64 /p:WinUIVersion=3.0.0-mylocalNuGet caches by version under packages\microsoft.windowsappsdk.winui\, so re-packing the same
version after a control change is silently ignored — use a fresh version string, or delete that
folder first.
The control DLL, its .pri and its theme XBFs arrive from the package. The consuming app's build
expands every referenced .pri and re-indexes it into the app's own TableViewSampleApp.pri, which
is why that file is several megabytes: it contains MUXC's and Tabular's resources as well as the
sample's.
Two things worth knowing
Tabular's theme resources must be merged. The control resolves its own generic.xaml from the
package, but the theme resources that default style depends on live in TabularControlsResources,
so App.xaml merges that alongside XamlControlsResources. SortIndicator ships in the Tabular
DLL rather than in MUXC — controls/Tabular.ProjectImports.targets is the only importer of
SortIndicator.vcxitems — so SortIndicatorForeground, which TableView's column-header style
resolves, is absent from MUXC's dictionary. Dropping the merge produces
XamlParseException 0x802B000A on the first layout pass, seen as a 0xC000027B stowed exception
shortly after launch. If a table appears with no header row, that is a different problem: it is
almost always no declared columns, not a missing dictionary.
TableView is [MUX_PREVIEW]. C# usage raises CS8305, suppressed via NoWarn in the project
file. XAML usage raises WMC1501 once per page; those are deliberately left visible.
Entry point
Program.cs provides Main and the project defines DISABLE_XAML_GENERATED_MAIN, following the
DisableXamlGeneratedMain sample. This is a normal WinUI pattern, not a
workaround.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

