WPF DataGrid RowHeader databinding

前端 未结 6 2079
孤城傲影
孤城傲影 2020-12-05 13:17

I have a DataGrid, bound to a DataTable. I want to display text in the RowHeader, to achieve something like this:

         Col0      Col1      Col2      Col3         


        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 14:02

    Try to set the rowheader template, something like this

    
            
                
                    
                
            uff
    
            //your stuff
    
    

提交回复
热议问题