How get a WPF Datagrid with cells that wrap text instead of truncating it?

前端 未结 5 1165
你的背包
你的背包 2020-12-24 06:05

What must be done to get a WPF DataGrid with cells that wrap text instead of truncating it?

Right now when a text is bigger and don\'t fit in a column the text is tr

5条回答
  •  没有蜡笔的小新
    2020-12-24 06:28

    Another simple way of setting text wrap for Editing and Text DataGrid columns is to specity the Binding property and TextWrapping property as following:

    
            
                    
                             
                    
            
            
                    
                        
                
        
    
    

提交回复
热议问题