读书人

WP8使用LongListSelector控件怎么制

发布时间: 2013-09-08 15:21:21 作者: rapoo

WP8使用LongListSelector控件,如何制作像人脉一样的效果
现在就是卡在获取联系人照片上。。。
<phone:LongListSelector
SelectionChanged="selectchange"
Name="LLS"

JumpListStyle="{StaticResource AddrBookJumpListStyle}"
Background="Transparent"
GroupHeaderTemplate="{StaticResource AddrBookGroupHeaderTemplate}"

ItemTemplate="{StaticResource LLSItemTemplate}"

LayoutMode="List"
IsGroupingEnabled="true"
HideEmptyGroups ="true"/>

<DataTemplate x:Key="LLSItemTemplate">
<StackPanel Orientation="Horizontal">

<Image Stretch="Fill" Width="64" Height="64" Margin="5,20,0,20"/

<TextBlock FontWeight="Bold" FontSize="30" Text="{Binding DisplayName}"/>
</StackPanel>

</DataTemplate>
这个Image如何获取联系人头像啊

联系人名字已经获取到了,就是Image照片区域空白。。 Source又不能绑定GetPicture,没有联系人照片这个属性啊。。怎么办


[解决办法]

引用:
http://www.daogoucom.com 这个不错。。


广告啊,班竹呢?

读书人网 >Windows Mobile

热点推荐