Size column col to fit its content (ColumnAutoSize.content) or its header
text (ColumnAutoSize.header) — the equivalents of WinForms' -1 and -2
column widths.
This is a *one-shot* measurement of the column's current contents, not a
persistent mode: call it **after** the rows are populated, and again if the
data changes. As a special case, ColumnAutoSize.header on the last column
stretches that column to fill the list's remaining width, so a common recipe
is fixed/auto widths for the leading columns and header on the last.
Size column col to fit its content (ColumnAutoSize.content) or its header text (ColumnAutoSize.header) — the equivalents of WinForms' -1 and -2 column widths.
This is a *one-shot* measurement of the column's current contents, not a persistent mode: call it **after** the rows are populated, and again if the data changes. As a special case, ColumnAutoSize.header on the last column stretches that column to fill the list's remaining width, so a common recipe is fixed/auto widths for the leading columns and header on the last.