1
我有一番风情:奇怪的风格行为。请解释
<Style TargetType="Image">
<Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality" />
<Setter Property="Width" Value="24" />
<Setter Property="Height" Value="24" />
</Style>
它会调整在面板内部的所有图像,因为它的目的。但是,它不会影响DataGrid行内的图像。为什么?如何解决这个问题?