Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 WPF/Silverlight 中将 TextBlock 添加到椭圆?
使用 a Grid,将Ellipse后面的TextBlock放在 中Grid。
Grid
Ellipse
TextBlock
<Grid> <Ellipse ... /> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" /> </Grid>