09 2011 档案
摘要:当我们使用Listbox binding的时候 可能遇到binding的结合是一个数据集合,这样当我们想获得相应ListboxItem的时候问题就出现了。 这个时候可以按如下方法找到: ListBoxItem lbi = listbox.ItemContainerGenerator.ContainerFromItem(item) as ListBoxItem; 其中item为bindi...
阅读全文
摘要:转自WPFtutorial,很好的WPF专题网站WPF Performance TipsWindows Presentation Foundation provides a very confortable way to develop rich user experiences. A drop shadow for example can added by inserting two simple lines of XML. But this simplicity can also mislead us to overuse them. This leads to performance i
阅读全文