WPF: How to make empty TextBlock not to occupy space?

后端 未结 2 2056
一个人的身影
一个人的身影 2021-02-20 09:28

Let\'s say that I have a simple layout such as this:


  
  

        
2条回答
  •  情深已故
    2021-02-20 09:55

    You may want to try this:

    
        
    
    

    This should fix the empty space issue based on a Null / Empty Binding.

提交回复
热议问题