Draw a circle in WPF using min(width, height)/2 as radius

后端 未结 2 1660
故里飘歌
故里飘歌 2021-02-20 09:26

How I can draw a circle in WPF (without code-behind) using min(width, height)/2 as radius?

2条回答
  •  离开以前
    2021-02-20 09:46

    you can do it in pure XAML you just need to use Binding for the values. You also have to make sure that everything is named

       
          
             
             
          
          
              
                    
          
    
               
       
    

提交回复
热议问题