如何隐藏或灰显ListView中的项目?

时间:2015-07-27 18:13:15

标签: c# wpf

正如标题所说:)我认为我可以访问与链表相同的元素,但我只找到了Items.GetItemAt(index)。我将不胜感激任何帮助。

1 个答案:

答案 0 :(得分:1)

If the items in the Animation fadeIn = new AlphaAnimation(1, 0); fadeIn.setInterpolator(new AccelerateInterpolator()); //add this fadeIn.setDuration(800); fadeIn.setFillEnabled(true); fadeIn.setFillAfter(true); bt1.startAnimation(fadeIn); are ViewModels, you can bind to a property (e.g. IsDisabled) and use that to trigger a style change to set a different opacity value.

ListView