XamDataTree.ItemSource.谁能给我有用的提示 [英] XamDataTree.ItemSource . could anyone give me useful tip about that
问题描述
在我的项目中,我想使用Infragistics XamDataTree控件.我看到了有关如何使用此控件的示例,但是数据绑定对我来说有点模糊.
它的使用方式如下:
XamDataTree.ItemSource = DataUtil.CategoryAndProducts;
我应该将哪种DataUtil或服装类分配给ItemSource属性?这些示例使用了一些服装类,例如DataUtil,我想知道该类应该具有什么质量?
谁能给我有用的提示或资料?因为我想使用该控件,而且我想做的很酷.
On my project I want to use Infragistics XamDataTree Control. I saw example about how to use this control, but one thing that Data binding little bit vague to me.
it uses like that:
XamDataTree.ItemSource =DataUtil.CategoryAndProducts;
what kind of DataUtil or costume class should I assign to ItemSource property? the examples use some costume class like DataUtil , and I want to know what quality the class should have?
could anyone provide me useful tip or source? since I want to use that control and I want to do it really cool.
thank you very much in advance!
推荐答案
我很糟糕,这很简单,起初我认为很复杂,最后却发现了一些简单的东西.只需坚持提供的课程即可.
my bad, it is simple, at first I think to complex and at last it turns out simple stuff. just stick with the class provided.
这篇关于XamDataTree.ItemSource.谁能给我有用的提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!