Accueil > Non classé > AutoSize colums for listview

AutoSize colums for listview

It’s better when you have a ListView can have many columns can be autosized with this code it’s possible

and usage

for information

  • use local:ListViewHelper.UpdateColumnWidthExtended= »true » on ListView for define support resizing columns
  • use local:ListViewHelper.ExtendWidth= »true » on each colums who is resized automaticly (like * on grid)
  • use local:ListViewHelper.MinimumWidth= »100″ on colum when you want to have a minimum width

this is not tested with virtualized ListView (but when i nedded i make this)

see result :

and the same code with behaviror (for fun)

and use

 

Categories: Non classé Tags:
  1. Pas encore de commentaire
  1. Pas encore de trackbacks