Skip to content

[iOS][Android] UIElementCollection is not a collection of UIElement #401

Closed

Description

@baptiste-nv

I'm submitting a...

Bug report

Current behavior

UIElementCollection is a collection of Android View or iOS UIView.
This prevent us to iterate over UIElementCollection to call UIElement methods, such as Measure/Arrange,

Expected behavior

UIElementCollection is a collection of UIElement

Minimal reproduction of the problem with instructions

  • Create a custom panel that inherit from Panel.
  • Try to iterate over Children to call Measure/Arrange on each child
  • Notice such methods do not exist

Environment

Nuget Package: 
Uno.UI 1.42.0

Package Version(s): 

Affected platform(s):
- [X] iOS
- [X] Android
- [ ] WebAssembly
- [ ] Windows
- [ ] Build tasks

Activity

  1. added
    platform/android 🤖
    platform/ios 🍎
    kind/enhancement
    on May 22, 2019
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

    kind/enhancementplatform/android 🤖platform/ios 🍎

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions