diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-08-02 22:24:50 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-08-02 13:24:50 -0700 |
commit | 89199205e48fe3fdf4336fe7e0f8af7dc0b662de (patch) | |
tree | 42e4d3a8f53ecd45d95b290bcdedd809eb046e4c /Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml | |
parent | ac44cf9dec53b3b8be1836f20479f01820f3667f (diff) | |
download | xamarin-forms-89199205e48fe3fdf4336fe7e0f8af7dc0b662de.tar.gz xamarin-forms-89199205e48fe3fdf4336fe7e0f8af7dc0b662de.tar.bz2 xamarin-forms-89199205e48fe3fdf4336fe7e0f8af7dc0b662de.zip |
Xaml convert on add (#273)
* [Xaml] add test for conversion on Set and Add
* [Xaml] Fix conversion on Add()
* [XamlC] use op_implicit before Add()
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml')
-rw-r--r-- | Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml b/Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml new file mode 100644 index 00000000..cb0aefb6 --- /dev/null +++ b/Xamarin.Forms.Xaml.UnitTests/BuiltInConversions.xaml @@ -0,0 +1,21 @@ +<?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="Xamarin.Forms.Xaml.UnitTests.BuiltInConversions"> + <StackLayout> + <DatePicker x:Name="datetime0" Date="2015-01-16"/> + <DatePicker x:Name="datetime1"> + <DatePicker.Date>2015-01-16</DatePicker.Date> + </DatePicker> + <Label x:Name="label0" Text="foobar"/> + <Label x:Name="label1"> + <Label.Text> + foobar + </Label.Text> + </Label> + <Label x:Name="label2"> + foobar + </Label> + </StackLayout> +</ContentPage>
\ No newline at end of file |