110,534
社区成员
发帖
与我相关
我的任务
分享
string str="动态值";
ObservableCollection<string> ListItemCollection;
listbox.ItemsSource=ListItemCollection;
if (ListItemCollection.Contains(str))
{
//将该项高亮或闪烁动画显示,此处不知道该如何处理,请教各位!
}
else
{
ListItemCollection.Add(str);
}