Bug 20736 - wrong error on VerticalOptions
Summary: wrong error on VerticalOptions
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.0.6188
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-06-19 17:36 UTC by Chase Florell
Modified: 2014-09-23 01:03 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Chase Florell 2014-06-19 17:36:59 UTC
In my xaml I have the following element.

    <WebView Source="{Binding ContentHtml}" VerticalOptions="Foo" />

When I run it, it throws the following exception.

> System.InvalidOperationException: Cannot convert "Foo" into Xamarin.Forms.Color

I'm pretty sure the VerticalOptions property isn't intended to be a color.
Comment 1 Chase Florell 2014-07-10 13:14:33 UTC
does anyone read these bug reports? This is a simple one, and it's still categorized as NEW.

it's simple, 

 1. set `VerticalOptions` to something invalid.
 2. run the app, and look at the debug output.
Comment 2 Eric Maupin 2014-07-17 13:30:35 UTC
Made public at the request of the reporter.