How can I automatically (or maybe using a recalculate method) to automatically resize the width of a listview in WPF after items have been changed (e.g. using a new source, filter or just added or changed items manually) in such a way that the width of each column accomodates exactly the width of the largest item length (or column name length)?
How can I automatically (or maybe using a recalculate method) to automatically resize the
Share
Perhaps you could bind the width property to the “largest” item in the list? Guess you could use a custom converter for it…
Cheers
–Jocke