AutoResize Columns to Content's Width

  • Thread starter Thread starter kwarnke
  • Start date Start date
K

kwarnke

Anyone have a quick-and-dirty snippet that will go through each column of a
DataGrid and adjust the column style's width based on the content of that
column (i.e. the same as if you double-click between columns to
auto-resize)?

Thanks,
- Kevin
 
Back
Top