【发布时间】:2018-03-28 08:45:17
【问题描述】:
我有一个 ContentView,我需要在其中设置背景图像。ContentPage 有“BackgroundImage”属性,在 ContentView 中做什么?在 xamarin 中是否可以在 ContentView 中设置背景图像?
【问题讨论】:
-
我认为您需要在
ContentView的Content内添加一个Image并使用RelativeLayout或AbsoluteLayout才能使其成为背景。跨度> -
通过使用 AbsoluteLayout 来做到这一点谢谢!!@PaulKaram
-
很高兴我能提供帮助。 @Jolly,如果您发布自己的答案并将其选择为已接受,那就太好了,以免像这样打开这个问题。
标签: xaml xamarin.forms