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

Update AbsoluteLayout bounds in parent Page from ContentView

$
0
0

Hi all,

I have a custom control name ButtonX (actually is a ContentView which contains few labels & image). This button is placed inside an AbsoluteLayout of MainPage. When user clicks on this button, I would like to update its position or size by using AbsoluteLayout.SetLayoutBounds method. But it doesn't work. Remember that, I update the bounds in ButtonX code, not in the MainPage code.

I have no idea how to do that, could you please help me to figure out the cause?

Thanks & best regards,


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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