WPF user control does not resize with main window

前端 未结 2 1441
情歌与酒
情歌与酒 2021-01-05 00:34

I\'m trying to make a WPF user control that includes two group boxes and two ListViews in each group box. Here is the XAML code for the user control:

         


        
2条回答
  •  梦毁少年i
    2021-01-05 00:50

    İf You Use a ViewBox and a Canvas on your user control will fix all the mainwindow sizes

    
    
      
    
    --- all your controls -- 
    
         
            
    

提交回复
热议问题