How to add a TextBlock to an Ellipse in WPF/Silverlight?
+2
A:
Use a Grid
, place the Ellipse
followed by the TextBlock
in the Grid
.
<Grid>
<Ellipse ... />
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" />
</Grid>
AnthonyWJones
2010-03-05 11:57:04
Seems to work for me. Thanks!
Nyla Pareska
2010-03-05 12:22:18