Normally doing this is fine in Xaml:
<controls:FooBar>
<controls:FooBar.ItemTemplate>
<DataTemplate>
<Image>
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="Element_Clicked"/>
</Image.GestureRecognizers>
</Image>
</DataTemplate>
</controls:FooBar.ItemTemplate>
</controls:FooBar>
Unfortunately in XamlC I end up with compile failures complaining that the Element_Clicked does not exist. Is this expected?