WPF: ListView with icons view?

前端 未结 4 524
深忆病人
深忆病人 2020-12-05 12:32

I can\'t figure out how I can implement an Icon View in the WPF ListView (a view similar to the Windows Explorer). Searching on google I only found informations about implem

4条回答
  •  青春惊慌失措
    2020-12-05 12:42

    Same as Tanveer Badar's answer, but with a WrapPanel instead of a UniformGrid. Set the following in your listbox:

    ScrollViewer.HorizontalScrollBarVisibility="Disabled" 
    ScrollViewer.VerticalScrollBarVisibility="Auto"       
    

    to force the WrapPanel to wrap.

提交回复
热议问题