Xaml Windows Phone 8-我必须双击才能加载列表框项以检测点击。

Xaml Windows Phone 8-我必须双击才能加载列表框项以检测点击。,xaml,listbox,windows-phone-8,Xaml,Listbox,Windows Phone 8,嘿,伙计们,我在我的Windows phone 8应用程序中有一个页面,每当我进入该页面时,如果我在任何列表框项目上点击过快,它都检测不到点击,所以我必须再点击一次或两次以检测触摸,有时甚至返回也需要多次点击后退按钮(在手机上)。这是xaml <!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">

嘿,伙计们,我在我的Windows phone 8应用程序中有一个页面,每当我进入该页面时,如果我在任何列表框项目上点击过快,它都检测不到点击,所以我必须再点击一次或两次以检测触摸,有时甚至返回也需要多次点击后退按钮(在手机上)。这是xaml

 <!--ContentPanel - place additional content here-->
    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        <ListBox x:Name="LocationsList" ItemsSource="{Binding Venues}" toolkit:TurnstileFeatherEffect.FeatheringIndex="2" SelectionChanged="LocationsList_SelectionChanged" >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Margin="0,0,0,17" Width="432">
                        <TextBlock Text="{Binding Name}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}"/>
                        <TextBlock Text="{Binding Address}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextAccentStyle}"/>
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
    </Grid>

尝试使用Tap属性和LongListSelector

xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"

<phone:LongListSelector Tap="OnSeleted">
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
   base.OnBackKeyPress(e);
}