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>
精彩评论