Closed oskaremil closed 9 years ago
Fixed.
I thougt BehaviorCollection
was only necessary when adding multiple commands. Tricked by IntelliSense
<b:Interaction.Behaviors>
<b:BehaviorCollection>
<b:EventToCommand EventName="Disappearing" Command="{Binding SaveCommand}"/>
</b:BehaviorCollection>
</b:Interaction.Behaviors>
I tried a basic implementation of the EventToCommand.
Using VS2015, Xamarin.Forms 1.4.4.6392 (installed in PCL and platform-specific projects) and Corcav.Behaviors 2.0.0 (installed in PCL and platform-specific projects) I have this xaml:
There seems to be a missing link somewhere...The project compiles but crashes when the application window is opening.
Exception from Windows Phone project:
A similar error when I start the Android project: