<ItemsControl Height="Auto" Width="Auto" Grid.Row="2" HorizontalAlignment="Center" Background="Transparent" ItemsSource="{Binding PlatformInfos,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" ItemTemplate="{StaticResource MenuChildDataTemplate}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Orientation="Horizontal"></WrapPanel>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
<DataTemplate x:Key="MenuChildDataTemplate" DataType="{x:Type 你的Model}">
<Button Content="{Binding Id}"></Button>
</DataTemplate>