Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to add images in listview in horizantal manner...
Posted

You can do it like so:

XML
<ListView>
    <ListView.ItemsPanel>
        <ItemsPanelTemplate>
            <StackPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </ListView.ItemsPanel>
</ListView>
 
Share this answer
 
WPF ListView with horizontal arrangement of items?[^]
ListView in WPF[^]

WPF and wrapping text inside elements of a ListView[^]
overall,
either use
<stackpanel orientation="Horizontal"></stackpanel>
or
<wrappanel orientation="Horizontal" />
according to your need.

Hope it helps!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900