Hello,
For ListView, its ItemsSource only supports one IEnumerable object:
A ListView is populated with data using the ItemsSource property, which can accept any collection implementing IEnumerable. - Quoted from ListView Data Sources.
Therefore, you can not bind multiple arrays to it.
Other INFO please, is possible to scroll ohorizontally a lystview???
ListView
does not provide APIs to change the scroll direction of the view, if you want to implement this feature, it is recommended that you use CollectionView
.
The
CollectionView
is a flexible and performant view for presenting lists of data using different layout specifications.
For CollectionView, you could implement it via the following code:
<CollectionView ItemsLayout="HorizontalList">
...
</CollectionView>
Please refer to Horizontal list for more details.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.