开发者

Add textblock to ellipse in WPF

How to add a TextBlock to 开发者_如何学编程an Ellipse in WPF/Silverlight?


Use a Grid, place the Ellipse followed by the TextBlock in the Grid.

<Grid>
   <Ellipse ...  />
   <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" />
</Grid>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜