How to implement a circle button in XAML

前端 未结 2 2091
無奈伤痛
無奈伤痛 2020-12-25 11:53

How to implement a circle button like below one in XAML, no external image required. The black line in the middle is not needed.

2条回答
  •  离开以前
    2020-12-25 12:28

    This is a very quick way to do it. It can be changed into a style and it could be made more flexible by creating a TemplatedControl allowing the designer to easily change the colors and other properties.

    
    

提交回复
热议问题