【发布时间】:2016-12-29 15:10:03
【问题描述】:
我刚刚启动了一个 Xamarin.Forms 应用程序,我想将背景图像添加到我的 XAML。 我添加了属性,但是运行时它没有出现!! 这是图片。
应用程序
public class App : Application
{
public App()
{
// The root page of your application
MainPage = new Page();
}
XAML:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="App1.Page"
BackgroundImage="bg.png">
那么,我该如何解决呢?
【问题讨论】:
标签: xaml xamarin xamarin.android xamarin.forms xamarin-studio