xaml如何实现css的这种定义样式的写法例如
.myclass ul{}
<Style x:Key="sp" TargetType="StackPanel"> <Style.Resources> <Style TargetType="Button"> <Setter Property="Background" Value="Red"/> </Style> </Style.Resources> </Style>