WPF TextBlock Overlaps Ellipse

前端 未结 5 853
迷失自我
迷失自我 2021-01-05 02:29

I am trying to create this in WPF (I realize I could just use an image, but I am trying to learn WPF):

(source)

This is what I have so far but it is

5条回答
  •  借酒劲吻你
    2021-01-05 02:41

    You can do it using a border and a TextBlock. A square border will become a circle if you make its CornerRadius equals half its Width (or Height):

            
                i
            
    

提交回复
热议问题