0
是否可以在樣式中定義資源而不是使用模板?樣式與控制模板
<ListView.Resources >
<Style TargetType="{x:Type ScrollBar}">
<Setter Property="Background" Value="Transparent" />
</Style>
</ListView.Resources>
我如何包裝這個東西到:
<Style TargetType="{x:Type ListView}">
</Style>
?