ContentControl VS ContentPresenter

What's the difference between ContentControl and ContentPresenter?

ContentPresenter is usually used in a ControlTemplate, as a placeholder to say "put the actual content here".

A ContentControl can be used anywhere, not necessarily in a template. It will pick up any DataTemplate defined for the type of content assigned to it

 

Datatemplate VS Controltemplate

最新文章

  1. HTML 表格
  2. Maven系列二setting.xml 配置详解
  3. DNS视图以及日志压力测试
  4. 2015年8月18日,杨学明老师《技术部门的绩效管理提升(研讨会)》在中国科学院下属机构CNNIC成功举办!
  5. codeforces A. Dima and Continuous Line 解题报告
  6. 【python游戏编程之旅】第五篇---嗷大喵爱吃鱼小游戏开发实例
  7. .NET Framework 4 中的并行编程9---线程安全集合类
  8. HDU 5818:Joint Stacks(stack + deque)
  9. 【概率DP/高斯消元】BZOJ 2337:[HNOI2011]XOR和路径
  10. app被Rejected 的各种原因翻译
  11. 拼写sql语句随笔
  12. TROUBLE SHOOTING: FRM-30425
  13. vs2008+opencv2.4.9 +win7X64位系统 2.
  14. Struts1和Struts2的区别和对比
  15. curl远程传输工具
  16. Leetcode_237_Delete Node in a Linked List
  17. springBoot(2)---快速创建项目,初解jackson
  18. xdebug php 运行效率分析工具
  19. Oracle 11g即时客户端在windows下的配置
  20. f5售后查询

热门文章

  1. Winform混合式开发框架访问Web API接口的处理
  2. WCF入门教程(一)简介
  3. 策略模式 - Strategy
  4. EntityFrame Work 6 Code First 配置字段为varchar 类型
  5. 背水一战 Windows 10 (22) - 绑定: 通过 Binding 绑定对象, 通过 x:Bind 绑定对象, 通过 Binding 绑定集合, 通过 x:Bind 绑定集合
  6. SpringMVC的注解开发入门
  7. .NET MVC 和 JAVA MVC有什么区别?
  8. logstash VS splunk
  9. 关于XAMPP默认端口80 和443被占用的问题
  10. CSS float