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

Loop through StackLayouts and children

$
0
0

Hi,

I can't figure this out.

I have multiple StackLayouts in my page (for every user). In every StackLayout I have a Switch.
When I click a button, I want to loop through every StackLayout and get a reference to the Switch. So I can get the Switch value for every user.

Can anyone help me with this problem? (I'm using Xamarin.Forms)

Many thanks in advance!


Viewing all articles
Browse latest Browse all 58056

Trending Articles