8,737
社区成员
发帖
与我相关
我的任务
分享
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<Image Source="{Binding PhotoSrc}" Width="92"></Image>
<TextBlock Text="{Binding theName}" TextAlignment="Center" Width="auto" ></TextBlock>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
ListBox1.ItemsSource = items;