Can't create Columns in my WPF Grid

前端 未结 3 540
青春惊慌失措
青春惊慌失措 2021-01-23 23:27

I have this code for my very very basic WPF Project.



        
3条回答
  •  [愿得一人]
    2021-01-24 00:11

    you have to enclose it in a ColumnDefinitions collection.

    
        
            
            
        
    
    

    Adding row definitions works the same way.

    Enjoy!

提交回复
热议问题