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

XLAB'S ImageButton's binding is not working !

$
0
0

code
<xlabsControl:ImageButton Text="SET LOCATION MANUALLY" BackgroundColor="#01abdf" TextColor="#ffffff" HeightRequest="75" WidthRequest="175" Image="setLocationManually.png" Orientation="ImageToLeft" ImageHeightRequest="50" ImageWidthRequest="50" IsVisible="{Binding ManualSetLocation}"/>

Error

7-23 17:25:50.568 I/MonoDroid( 4539): UNHANDLED EXCEPTION:
07-23 17:25:50.578 I/MonoDroid( 4539): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Xamarin.Forms.Labs.Controls.ImageButton ---> System.MissingMethodException: **Method 'BindableProperty.Create' not found.**
07-23 17:25:50.578 I/MonoDroid( 4539):   --- End of inner exception stack trace ---
07-23 17:25:50.578 I/MonoDroid( 4539):   at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
07-23 17:25:50.578 I/MonoDroid( 4539):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <filename unknown>:0 
07-23 17:25:50.578 I/MonoDroid( 4539):   --- End of inner exception stack trace ---
07-23 17:25:50.578 I/MonoDroid( 4539):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x0001c] in <filename unknown>:0 
07-23 17:25:50.578 I/MonoDroid( 4539):   at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000af] in <filename unknown>:0 
07-23 17:25:50.578 I/MonoDroid( 4539):   at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
07-23 17:25:50.578 I/MonoDroid( 4539):   at Xamarin.Forms.Xaml.CreateValuesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode node, INode parentNode) [0x001b3] in <filename unknown>:0 
07-23 17:25:50.598 D/AndroidRuntime( 4539): Shutting down VM
07-23 17:25:50.598 W/dalvikvm( 4539): threadid=1: thread exiting with uncaught exception (group=0x41ad7da0)

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>