【发布时间】:2011-03-27 04:53:31
【问题描述】:
我有一种风格:
<Style TargetType="Image">
<Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality" />
<Setter Property="Width" Value="24" />
<Setter Property="Height" Value="24" />
</Style>
它会按照预期调整面板内所有图像的大小。但是,它不会影响 DataGrid 行中的图像。为什么?如何解决这个问题?
【问题讨论】: