Location:
Search - datatemplate
Search list
Description: This sample shows how bind a TreeView to a data source and use DataTemplate objects to customize the TreeView.
Platform: |
Size: 6073 |
Author: alec_cy |
Hits:
Description: This sample shows how bind a TreeView to a data source and use DataTemplate objects to customize the TreeView.
Platform: |
Size: 6144 |
Author: alec_cy |
Hits:
Description: WPF 查看 Control的DataTemplate工具。使用Reflector实现。-Tool for look up DataTemplate of WPF System.Windows.Controls
Platform: |
Size: 54272 |
Author: mingspy |
Hits:
Description: 在WPF中模拟ChildWindow效果
原理很简单,关键点就是如何定义ChildWindow样式和使用DataTemplate动态显示控件,注意这里Content并没有显式定义ItemTemplate,它会默认应用资源里的DataTemplate定义,通过绑定到DialogViewModel,DataTemplate会根据DialogViewModel的DataType类型选择显示不同的子窗体,同时子窗体的DataContext会自动关联到该DialogViewModel类型的实体-In WPF, the principle is very simple simulation of the effect ChildWindow, ChildWindow key point is how to define the dynamic styles and use a DataTemplate to display control, attention here is not explicitly defined Content ItemTemplate, it will default application resources in the DataTemplate to define, by binding to DialogViewModel, DataTemplate DataType of the type according to DialogViewModel choose to display different sub-forms, while the child form' s DataContext will be automatically associated with the types of entities that DialogViewModel
Platform: |
Size: 78848 |
Author: JOSH |
Hits:
Description: Silverlight中获取DataTemplate内的对象-For DataTemplate object in Silverlight
Platform: |
Size: 1117184 |
Author: eHuaTian |
Hits: