Skip to content

ItemsWrapGrid is not supported with ItemsControl #4023

Closed as duplicate
Closed as duplicate

Description

@takla21

Current behavior

When we use an itemsWrapGrid inside the ItemsPanelTemplate, we only see the first item on all plateforms
android

Expected behavior

We should be able to see all items.
uwp

How to reproduce it (as minimally and precisely as possible)

Download sample ItemsWrapGrid.zip
Deploy on any heads (Android, iOS or Wasm)

Workaround

Use a GridView in place of ItemsControl

Environment

Nuget Package:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

Nuget Package Version(s): 3.1.0-dev.274

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS (Didn't test)
  • Skia (Didn't test)
    • WPF (Didn't test)
    • GTK (Linux) (Didn't test)
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • Visual Studio 2019 (version: 16.6.2)
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

I've created another issue for wasm, because the result is worse #4025

Activity

  1. added
    kind/bug
    triage/untriaged
    on Sep 10, 2020
  2. removed
    triage/untriaged
    on Sep 11, 2020
  3. davidjohnoliver commented on Sep 11, 2020

    @davidjohnoliver
    Contributor

    At the moment ItemsWrapGrid along with ItemsWrapPanel is only supported on Uno when used as the ItemsPanel of a ListViewBase type (eg ListView or GridView). The workaround then is to use a GridView in place of an ItemsControl.

  4. added
    project/layout 🧱
    on Sep 21, 2020
  5. added
    difficulty/tbd
    on Feb 15, 2021
  6. added
    difficulty/challenging 🤯
    and removed
    difficulty/tbd
    on Jun 2, 2021
  7. SuperJMN commented on Sep 28, 2021

    @SuperJMN
    Contributor

    At the moment ItemsWrapGrid along with ItemsWrapPanel is only supported on Uno when used as the ItemsPanel of a ListViewBase type (eg ListView or GridView). The workaround then is to use a GridView in place of an ItemsControl.

    I think GridView isn't working for Skia.Wpf.

  8. changed the title [-]ItemsWrapGrid is not supported with ItemsControl[/-] [+]`ItemsWrapGrid` is not supported with `ItemsControl`[/+] on Jun 14, 2023
  9. added
    project/items 🧾
    on Jun 14, 2023
  10. MichaelJachan commented on Dec 30, 2024

    @MichaelJachan

    Good Morning, @davidjohnoliver !

    At the moment ItemsWrapGrid along with ItemsWrapPanel is only supported on Uno when used as the ItemsPanel of a ListViewBase type (eg ListView or GridView). The workaround then is to use a GridView in place of an ItemsControl.

    I cannot find a control called ItemsWrapPanel.

  11. MartinZikmund commented on Jan 2, 2025

    @MartinZikmund
    Member

    @MichaelJachan on the latest versions it is preferrable to use the ItemsRepeater which allows for more customization options

  12. MichaelJachan commented on Jan 3, 2025

    @MichaelJachan

    I really would like to ask you for a code example! See also my Postings on the Accordion Control! (#19062)

    Thank you:)

  13. MartinZikmund commented on Nov 25, 2025

    @MartinZikmund
    Member

    Closing in favor of #468

  14. github-actions commented on May 1, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  15. locked as resolved and limited conversation to collaborators on May 1, 2026
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

    difficulty/challenging 🤯kind/bugproject/items 🧾project/layout 🧱

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions