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

Bug with collection typed properties?

$
0
0

I seem to be having trouble discovering the requirements for getting a collection typed property to work appropriately from xaml. The goal is to do something of this nature:

<SomeControl.SomeProperty>



</SomeControl.SomeProperty>

which seems to work. But if I have this:

<SomeControl.SomeProperty>

</SomeControl.SomeProperty>

No items are added to the collection property. Is this a bug? Or does something need to be done to disambiguate this? I'm guessing its misinterpreting the latter as a property element set rather than a collection add?

-Graham


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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