TextWrapping in WPF DataGrid

Dec 8, 2008 at 6:39 AM

Hi, all,

I want to implement the TextWrapping in WPF DataGrid.

I'd like to have a comboBox, it has 3 values corresponding to the TextWrapping enum, 

 

WrapWithOverflow, NoWrap and Wrap. Now I want to select different item int the ComboBox, then the

WPF DataGrid's textWrapping feature is changed accordingly, How to do that?

thanks.

xiong