如何展示形象,因此,它应当始终能够看一看(因为图像色谱好坏参半,难以预测)?
我想到两个选择:
- Making the text border in white while the text itself will be black
- Having the text displayed negatively to the picture
The 1st option would be preferred since it looks more solid.
删除案文简单:
<Grid>
<Image Source="{Binding ImageLink}" Width="110" />
<TextBlock Text="{Binding Description}"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
Update on answer:
就像一个伟大的想法一样,但并不奏效。
我研究了你的法典,这里是结果:
左面图像是:我设定了<代码>Color Property to White
和ShadowDepth
至10
。