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

How to create a custom view and renderer which can display children

$
0
0

I have another thread; but think it might be badly worded, so I want to simplify my question.

how can I write an iOS renderer to allow me to do this:

<controls:MyAwesomeControl>
    <controls:MyAwesomeControl.FooterView>
        <StackLayout BackgroundColor="Fuchsia">
            <Label Text="test" />
        </StackLayout>
    </controls:MyAwesomeControl.FooterView>
<controls:MyAwesomeControl>

i.e how do I get the FooterView contents, and turn them into iOS views, and have them render correctly for layouts and their children.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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