Skip to content

Port Layout Primitives #8

Open
Open

Description

@niels9001
### Initial Port
- [x] Update namespace (to `CommunityToolkit.WinUI.Controls`)
- [x] Ignore `AdaptiveGridView` for now
- [x] Merge differences from UWP main to
- [x] WinAppSDK
- [x] Uno Platform fork
- [x] Import original doc or setup new doc
- [x] Samples
- [x] Tests
- [x] All brought over tests pass for UWP/WinAppSDK
- [x] Support for WASM via Uno Platform
### Known Issues / Remaining
- [x] WrapPanel Sample binding doesn't work form ItemsPanelTemplate
- [ ] UniformGrid not working properly in WASM
- [ ] ConstrainedBox sample missing as we don't have TilesBrush yet
- [ ] https://github.com/CommunityToolkit/Windows/issues/130
- [ ] https://github.com/CommunityToolkit/Windows/issues/129
- [ ] https://github.com/CommunityToolkit/Windows/issues/128
- [ ] Tests should be converted to use new test page setup over XamlReader
- [ ] Split StaggaredPanel/Layout doc and samples?
- [ ] https://github.com/CommunityToolkit/Windows/issues/131

Notable Changes

  • We didn't bring over AdaptiveGridView as it should be replaceable by the UniformGridLayout for ItemsRepeater

Open Issues

Future Improvements

Activity

  1. michael-hawker commented on Mar 21, 2023

    @michael-hawker
    Member

    Namespace should still be CommunityToolkit.WinUI.Controls, package/component name of Primitives I think still makes a bit of sense as it kind of aligns to some notions the platform team has (and also for folks looking for these things of existing 7.x packages).

    The main purpose of this package is to be layouts and controls that can be used but that don't leverage XAML templates (and thus the overhead of non-trimmable-ness they have).

    Also, we should not bring over AdaptiveGridView yet and try to replicate the scenarios in a doc/example guide with ItemsRepeater. (edited in list above for visibility)

  2. added
    enhancementNew feature or request
    components::controls::primitivesPrimitive layout controls such as SwitchPresenter, UniformGrid, WrapLayout, StaggeredPanel, etc.
    on Aug 7, 2025
  3. moved this to 🔖 Ready in Toolkit 8.xon Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority-1components::controls::primitivesPrimitive layout controls such as SwitchPresenter, UniformGrid, WrapLayout, StaggeredPanel, etc.enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions