开发者

Add textblock to ellipse in WPF

开发者 https://www.devze.com 2022-12-21 21:00 出处:网络
How to add a TextBlock to 开发者_如何学编程an Ellipse in WPF/Silverlight?Use a Grid, place the Ellipse followed by the TextBlock in the Grid.

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>
0

精彩评论

暂无评论...
验证码 换一张
取 消