Merge Cells in WPF DataGrid

后端 未结 3 1585
无人共我
无人共我 2020-12-01 16:38

I want to create a WPF datagrid that spans over multiple rows in one column. Like this:

+-------+----------------+
| Name  | Attributes     |
+-------+------         


        
3条回答
  •  醉话见心
    2020-12-01 17:05

    Another helpful article on the subject is http://www.mindstick.com/Articles/90371ed3-c0f7-49eb-ba2d-9d1f2c9b14e2/?Grid%20Control%20in%20WPF:

    
        
            
            
            
        
        
            
            
            
        
        

    Notice the Grid.ColumnSpan and Grid.RowSpan attributes.

提交回复
热议问题