1
Xamarin.Forms中的新功能,在VS社区2015上工作,构建一个应用程序到Android棒棒糖模拟器。 我正尝试插入编辑成的TableView,像这样:Xamarin.Forms编辑器HeightRequest在一个TableView中
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<ContentPage.Content>
<StackLayout>
<TableView x:Name="table" Intent="Form">
<TableRoot>
<TableSection Title="My note">
<ViewCell>
<StackLayout>
<Editor BackgroundColor="#FFFF8D"
HeightRequest="200"
Text="Text on Yellow background" />
</StackLayout>
</ViewCell>
</TableSection>
</TableRoot>
</TableView>
</StackLayout>
</ContentPage.Content>
</ContentPage>
大厦为Android,HeightRequest不起作用。只显示一条编辑器。
它完美没有的TableView中的结构(没有的tableView,根,段和内StackLayout) 我在做什么错? 在此先感谢。
谢谢@LyndonHughey!完美的作品! –