相关疑难解决方法(0)

"System.String"类型的对象无法转换为"Xamarin.Forms.View"类型

我有这个代码,它给我这个错误,我该如何解决这个问题?

"System.String"类型的对象无法转换为"Xamarin.Forms.View"类型.

Xaml:

<?xml version="1.0" encoding="UTF-8"?>
  <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Project1.Page1">
    <ContentPage.Content>
      <StackLayout>
        <Label Text="Text"></Label>
        Some text here
        <Editor Text="I am an Editor" />
      </StackLayout>
    </ContentPage.Content>
  </ContentPage>
Run Code Online (Sandbox Code Playgroud)

xaml xamarin xamarin.forms

13
推荐指数
1
解决办法
8547
查看次数

标签 统计

xamarin ×1

xamarin.forms ×1

xaml ×1