diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-02-01 17:03:53 +0100 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-03-24 13:17:13 +0900 |
commit | c0030930c4ea2af680b598baa0f7b8f767c37a9f (patch) | |
tree | ba26c928ea4d6a869417764fa82bc5b0d0a606ba /Xamarin.Forms.Xaml | |
parent | 330f236a9e0c87b7e7ea2047e077b16df2e9b4d3 (diff) | |
download | xamarin-forms-c0030930c4ea2af680b598baa0f7b8f767c37a9f.tar.gz xamarin-forms-c0030930c4ea2af680b598baa0f7b8f767c37a9f.tar.bz2 xamarin-forms-c0030930c4ea2af680b598baa0f7b8f767c37a9f.zip |
[Xaml[C]] cast to BindingBase before SetBinding() (#709)
Diffstat (limited to 'Xamarin.Forms.Xaml')
-rw-r--r-- | Xamarin.Forms.Xaml/ApplyPropertiesVisitor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Xaml/ApplyPropertiesVisitor.cs b/Xamarin.Forms.Xaml/ApplyPropertiesVisitor.cs index 879ea3b0..47ef9f6c 100644 --- a/Xamarin.Forms.Xaml/ApplyPropertiesVisitor.cs +++ b/Xamarin.Forms.Xaml/ApplyPropertiesVisitor.cs @@ -361,7 +361,7 @@ namespace Xamarin.Forms.Xaml exception = null; var elementType = element.GetType(); - var binding = value as BindingBase; + var binding = value.ConvertTo(typeof(BindingBase),pinfoRetriever:null,serviceProvider:null) as BindingBase; var bindable = element as BindableObject; var nativeBindingService = DependencyService.Get<INativeBindingService>(); |