wpf 中的 repeater ------- ItemsControl
作者:互联网
<ItemsControl ItemsSource="{Binding Path=imageNames}" Padding="10"> <ItemsControl.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding}" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl>
public List<string> imageNames { get { return Newtonsoft.Json.JsonConvert.DeserializeObject<List<string>>(this.images); } }
标签:JsonConvert,Newtonsoft,repeater,get,List,DeserializeObject,-------,wpf 来源: https://www.cnblogs.com/nanfei/p/16419628.html