0
是否可以在样式中定义资源而不是使用模板?样式与控制模板
<ListView.Resources >
<Style TargetType="{x:Type ScrollBar}">
<Setter Property="Background" Value="Transparent" />
</Style>
</ListView.Resources>
我如何包装这个东西到:
<Style TargetType="{x:Type ListView}">
</Style>
?