DataTemplate vs ItemContainerTemplate

前端 未结 4 1008
花落未央
花落未央 2021-01-11 23:13

What is ItemContainerTemplate used for? It is derived from DataTemplate, but I don\'t see any difference between them except the ItemContainerTemplateKey property. When shou

4条回答
  •  心在旅途
    2021-01-11 23:44

    You can put an ItemContainerTemplate in a ResourceDictionary, and it will automatically use the DataType as its key.

    That's the only difference.

提交回复
热议问题