c# - How to Auto-size cell in datagridview according to data size -


i searched autosizing of cell found auto-size row , column how can make particular cell autosize (in terms of height since column width fixed)according data size of particular cell? can done using property of datagridview?

this line of code make cell auto-size vertically depending on data loaded

datagridview1.defaultcellstyle.wrapmode = datagridviewtristate.true; 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -