4

How to add a TextBlock to an Ellipse in WPF/Silverlight?

Nyla Pareska
  • 1,377
  • 6
  • 22
  • 37

1 Answers1

9

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

<Grid>
   <Ellipse ...  />
   <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" />
</Grid>
AnthonyWJones
  • 187,081
  • 35
  • 232
  • 306