Skip to content

ItemsControl.Items doesn't reflect the actual items #2347

Closed

Description

@SuperJMN

Current behavior

Given an ItemsControl bound to an ObservableCollection via ItemsSource, the Items property has 0 elements.

image

Expected behavior

The Items property should be populated with the current items (the elements inside the collection bound to ItemsSource)

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

Create XAML with an ItemsControl, bind a collection to it and inspect the Items property.

Environment

Nuget Package:

Uno.UI version 2.1.0-dev.289

Affected platform(s):

  • [?] iOS
  • Android
  • WebAssembly
  • [?] WebAssembly renderers for Xamarin.Forms
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio:

  • 2019 (version: )
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: 2019.3)

Activity

  1. added
    kind/bug
    triage/untriaged
    on Dec 17, 2019
  2. changed the title [-]ItemsControl.Items doesn't reflect the correct items[/-] [+]ItemsControl.Items doesn't reflect the actual items[/+] on Dec 17, 2019
  3. added this to the 3.1 milestone on Aug 29, 2020
  4. removed
    triage/untriaged
    on Aug 29, 2020
  5. removed this from the 3.1 milestone on Aug 31, 2020
  6. added
    project/items 🧾
    on Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/bugproject/items 🧾

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions