<ListView
x:Name="xListview"
Grid.Row="0"
ItemSelected="OnItemSelected"
RowHeight="50">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell Tapped="OnTappedListItem">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="7*" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<!--<Ctrl:CtrlEntry
Grid.Column="0"
Margin="20,0,0,0"
BackgColor="red"
Completed="OnEditEnd"
IsReadOnly="True"
StrokeWidth="0"
Text="{Binding LabelText}">
<Ctrl:CtrlEntry.GestureRecognizers>
<TapGestureRecognizer Tapped="OnEntryClicked" />
</Ctrl:CtrlEntry.GestureRecognizers>
</Ctrl:CtrlEntry>-->
<Label BackgroundColor="Red"
Grid.Column="0"
Margin="20,0,0,0"
Style="{StaticResource LabelStyle}"
Text="{Binding LabelText}" />
<StackLayout
Grid.Column="1"
Margin="0,0,5,0"
HorizontalOptions="End"
Orientation="Horizontal"
Spacing="10"
VerticalOptions="Center">
<Ctrl:CtrlImageButton
BackgroundColor="Transparent"
Clicked="OnModifyClicked"
HeightRequest="25"
Source="edit_button.png"
Tag="false"
WidthRequest="25" />
<Ctrl:CtrlImageButton
BackgroundColor="Transparent"
Clicked="OnDeleteClicked"
HeightRequest="27"
Source="btn_delete.png"
Tag="false"
WidthRequest="27" />
</StackLayout>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
If a label is placed on a list item, the list item will be clicked even if the label area within the list item area is clicked.
What I want is to put an entry and click in the entry area to make it look like the item list is clicked.