1
<phone:LongListSelector Name="MainLongListSelector" 
                                    Margin="0,0,-12,0" 
                                    ItemsSource="{Binding Problems}"
                                    toolkit:TurnstileFeatherEffect.FeatheringIndex="0"

                                    SelectionChanged="LongListSelector_SelectionChanged_1">
                <phone:LongListSelector.ItemTemplate>
                    <DataTemplate>
                        <Grid Margin="0,0,0,10" >
                            <Image     Source="{Binding ProblemImageFilePath}"
                                       Height="65" 
                                       Width="65" 
                                       HorizontalAlignment="Left"
                                       Margin="10,0,0,0" >
                            </Image>


                            <StackPanel Margin="80,0,0,0">
                            <TextBlock Text="{Binding ProblemName}" Style="{StaticResource PhoneTextExtraLargeStyle}"/>
                            <TextBlock Text="{Binding ProblemDesc}" Style="{StaticResource PhoneTextSubtleStyle}"/>
                        </StackPanel>
                        </Grid>
                    </DataTemplate>
                </phone:LongListSelector.ItemTemplate>
            </phone:LongListSelector>

任何人都可以在上述项目中提供在 windows phone 工具包中实现滑入效果所需的代码

4

0 回答 0