Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
AutoSize doesn't appear to work if column headers are hidden
posted

Hi,

I'm using a WinTree in OutlookExpress mode. I need the column headers hidden but the columns should spread out to fill the available width. 

I have the column headers turned off using:

  ColumnSettings.LabelPosition = None

and the auto-sizing turned on using

  ColumnSettings.AutoFitColumns = ResizeAllColumns.

The tree is fill docked

The tree auto-sizes the columns perfectly when the column headers are displayed. But if  I turn the column headers off as described above and increase the width available to the tree, the entire block of columns stays the same width and centers within the available space instead of auto-sizing the columns.

Am I missing some property setting? I'm not sure how having the column headers visible would affect the column auto-sizing.

Thanks!

Jim Honeycutt

 

Parents
No Data
Reply Children