是否可以在运行时在图像上显示文本?

是否可以在运行时在图像上显示文本?

问题描述:

是否可以在运行时在图像上显示文本?

Is It possible to display texts over an image on runtime?

这可能有效:



< Grid>

< Image Panel.ZIndex =0>< / Image>

< TextBlock Text =HelloPanel.ZIndex =1>< / TextBlock>

< / Grid>
This might work:

<Grid>
<Image Panel.ZIndex="0"></Image>
<TextBlock Text="Hello" Panel.ZIndex="1"></TextBlock>
</Grid>