I have used the PerformAutoResize method with the VisibleRows option but when I do this sometimes my header text is larger than my content and therefore my header text becomes multilined. I would like to be able to resize columns so that they fit the content, however, if the header is wider than the content then it should size to the header. Is there a way to go about doing this? Could I perform auto resize and set some other property to disable multi-line headers?
Hello Devin,
Thank you for contacting Infragistics.
If you modify your call to PerformAutoResize() and add a Boolean argument, you'll be able to tell the grid whether you want the column header taken into account when calculating the size.
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Win.UltraWinGrid.v14.1~Infragistics.Win.UltraWinGrid.UltraGridColumn~PerformAutoResize(PerformAutoSizeType,Boolean).html
Please let me know if you have any other questions about this.