Bug 42602

Summary: Custom BoxView Renderer Does Not Render All Its Children Elements
Product: Forms Reporter: Jimmy [MSFT] <jimmy.garrido>
Component: WindowsAssignee: Bugzilla <bugzilla>
Severity: normal CC: david, jas, parmendrak, paul.dipietro, sahou
Priority: Normal    
Version: 2.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Tags: ac Is this bug a regression?: Yes
Last known good build:
Attachments: repro project

Description Jimmy [MSFT] 2016-07-15 19:09:26 UTC
Created attachment 16687 [details]
repro project

### Overview
In the attached repro project, a Canvas with an Ellipse and TextBlock is added the BoxView renderer's Children property. However only the Ellipse is rendered on screen. This worked before Forms 2.0. and both the Ellipse and TextBlock would be displayed.

### Steps to Reproduce
1. Run the attached repro project

### Expected Results
You will see a red circle and text.

### Actual Results
Only the red circle is rendered.

### Version Info
Tested with Forms 2.3 and Forms 2.3.1-pre2
Comment 1 Samantha Houts [MSFT] 2016-09-27 23:43:27 UTC
This should be fixed in 2.3.3-pre3. However, please be aware that the fix requires a small change to your WinRT/UWP custom renderers. You will need to add ArrangeNativeChildren = true to OnElementChanged(). Please see https://github.com/xamarin/Xamarin.Forms/pull/322/files for a complete example.

Warm regards,
Xamarin Forms Team
Comment 2 Prashant manu 2016-11-03 16:29:13 UTC
I have checked this issue with X.F and add ArrangeNativeChildren = true to OnElementChanged() but I am still facing same issue i.e Only red circle is rendered, text doesn't render. 

Screencast with X.F http://www.screencast.com/t/wdMpsgr1

Screencast with X.F http://www.screencast.com/t/c1wvYdnOYr

Hence reopen this issue.
Comment 3 Parmendra Kumar 2016-11-03 16:31:11 UTC
An update of comment #2,

@Samantha, Could you please have a look and let me know If I have missed anything to verify this issue

Comment 4 Samantha Houts [MSFT] 2017-03-22 17:15:46 UTC
@Jimmy Garrido: Can you please verify if this bug has actually been fixed? It is definitely fixed when I look at it. Thanks!
Comment 5 Jimmy [MSFT] 2017-03-22 18:39:16 UTC
I confirm that I can no longer reproduce this issue with Forms and adding ArrangeNativeChildren = true in the custom renderer.