为什么我们能够分配以下标记中的类型之一DataTemplate或属性:-ControlTemplateTemplateControlTemplate
<Style TargetType="ListBox">
<Setter Property="Template">
<Setter.Value>
<!--
Visual Studio Intellisense shows
both ControlTemplate and
DataTemplate here.
-->
</Setter.Value>
</Setter>
</Style>