8,734
社区成员
发帖
与我相关
我的任务
分享
<ListBox Name="ls" Margin="2">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Tag}" Margin="3"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<ContentControl Grid.Row="1" Content="{Binding ElementName=ls,Path=SelectedItem}" />