You can use Grid
to contain shape & text block in it. Like given below. You can use Rectangle
, Ellipse
or Path
.
<Grid>
<Rectangle Height="25" Width="150" Fill="Red" />
<TextBlock Text="Hello World!" FontSize="20" Width="150" />
</Grid>