标签: wpf silverlight textblock ellipse
如何在WPF / Silverlight中向Textipse添加TextBlock?
答案 0 :(得分:9)
使用Grid,将Ellipse放在TextBlock中的Grid后面。
Grid
Ellipse
TextBlock
<Grid> <Ellipse ... /> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" /> </Grid>