When uwp sets the Tapped event on the parent grid, the child checkbox is automatically checked to be double Tapped.
I want to check the child checkbox as Tapped instead of double Tapped.
Thank you for your reply.
<Grid Background="Black" >
<interactivity:Interaction.Behaviors>
<core:EventTriggerBehavior EventName="Tapped">
<core:InvokeCommandAction Command="{Binding DataContext.SelectDefectImageCommand, ElementName=PART_ItemList}" CommandParameter="{Binding}" />
</core:EventTriggerBehavior>
</interactivity:Interaction.Behaviors>
<CheckBox IsChecked="{Binding IsSelected, Mode=TwoWay}" Style="{StaticResource WhiteCheckBoxStyle}" VerticalAlignment="Center" Margin="5,0,0,0" />
</Grid>
Aucun commentaire:
Enregistrer un commentaire