问题描述
大家好,
我想要有关使用C#.NET在WPF中自定义控件(组合框,列表框等)的数据模板的简要知识.因此,如果有人有任何链接或示例应用程序,请与我分享..
更新:
我在某种程度上了解了DataTemplate,但现在我想了解用于DataTemplate的术语,例如ObservableCollection,DataContext,以及如何根据该DataTemplate中用户的需要设置Binding属性.我想要开发一种非常类似的示例应用程序的想法,例如将组合框的每个项目分成三列,并在不同的列上动态添加不同的内容.
在此先感谢
Hi All,
I want brief knowledge about Data Template for Customizing a control(Combo Box,List Box etc.)in WPF using C#.NET. So if anybody have any links or sample applications then share it with me please..
Update:
I got to know the DataTemplate in some what but now I want to know about the terms used for DataTemplate like ObservableCollection, DataContext and how to set the Binding property according to the User''s need in that DataTemplate. I want an idea for develop a very similar kind of Sample application like dividing Combo Box''s each items into three Column and adding different contents on different columns dynamically
Thanks in Advance
推荐答案
这篇关于在WPF中搜索Best DataTemplate知识以及其中使用的属性.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!