I have one ContentView in which i need to set background Image.There is "BackgroundImage" Property for ContentPage,What to do in ContentView?is it possible in xamarin to set background image in ContentView?
In ContentView use AbsoluteLayout and put Image inside AbsoluteLayout with other controls.It works!!
<ContentView.Content>
<AbsoluteLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<Image Source="abc.png" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All" Aspect="AspectFill"/>
<ScrollView AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All">
<Grid>
......
......
</Grid>
</ScrollView>
</AbsoluteLayout>
</ContentView.Content>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With