Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

ViewCell blows up every time

$
0
0

On WinPhone, If I set any content inside the below ViewCell (see example Button), I get the following exception:

Message = "MeasureOverride of element 'Xamarin.Forms.Platform.WinPhone.ViewToRendererConverter+WrapperControl' should not return PositiveInfinity or NaN as its DesiredSize."

I'm not sure when this started - both XF 1.4.1 and 1.4.2 are doing it today.

<?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="TestProject.Views.AccountPage">
  <TableView Intent="Menu">
    <TableView.Root>
      <TableSection Title="Account">
        <EntryCell Placeholder="Email Address" Text="{Binding EmailAddress}"/>
        <EntryCell Placeholder="Password" Text="{Binding Password}"/>
        <ViewCell>
          <Button Text="Kaboom!"/>
        </ViewCell>
      </TableSection>
    </TableView.Root>
  </TableView>
</ContentPage>

Viewing all articles
Browse latest Browse all 58056

Trending Articles