Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Custom Control base on Xamarin Forms control Custom Children

$
0
0

I have a custom content control based on Xamarin forms views the problem is that when it renders and when It tries to get its Custom Children the container is null

The Control xaml is atached

and in code behind

I have the property

public IList Children
{
get { return ContentLayout.Children; }

     }

and on the top of the class the following attribute
[ContentProperty("Children")]

The problem Im having is that when Children is called at the beginning ContentLayout is null anyone have any work around for this issue?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>