I want to Open picker list (picker.focus()) whenever I click on Frame.
I am using Xamarin forms with Prism Framework.
I have tried with below code but getting item object , not picker object.
<ListView.Behaviors>
<behavior:EventToCommandBehavior EventName="ItemTapped" Command="{Binding ApplyLeaveInfoCommand}" EventArgsParameterPath="Item"/> </ListView.Behaviors>
So Can I get picker.focus() after click on listview Item ???
Complete code:-
<ListView.ItemTemplate>
<Grid.RowDefinitions>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Image Source="{Binding ImageSource}" Aspect="AspectFit" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" VerticalOptions="CenterAndExpand" /> </Grid><Frame.GestureRecognizers> <ClickGestureRecognizer Command="{Binding ApplyLeaveInfoCommand}" CommandParameter="{Binding .}" /></Frame.GestureRecognizers> </Frame> </StackLayout> </ViewCell> </DataTemplate> </ListView.ItemTemplate>