Hide WPF elements in Visual Studio designer

后端 未结 7 1871
暗喜
暗喜 2020-11-30 08:39

I have a WPF form which basically looks like this:


  
    
      [content shown during normal operation]
             


        
7条回答
  •  伪装坚强ぢ
    2020-11-30 09:13

    Other than not using the designer (really, consider this) you could separate the contents of the Grid into a separate UserControl. That way, you could just update that UserControl in isolation from the visibility logic.

提交回复
热议问题