Thanks to visit codestin.com
Credit goes to www.codeproject.com

65.9K
CodeProject is changing. Read more.
Home

Horizontal ListView Component

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.77/5 (9 votes)

May 29, 2006

viewsIcon

49142

downloadIcon

3563

Component which you can add to your project that allow you to add items horizontal to a ListView component.

Sample Image - ListViewHor.png

Introduction

I had a problem with the free space on my form. I searched for a ListView component which I can use horizontal, instead of vertical. I couldn't find a good component, so.. I made it. By adding this component to your project it allows you to add images with a subscription to the ListView.

How does it works

This component exists of two elements: ListView, HScrollBar. Dependant of the size of the component, the loaded images will be shown.
At the background there is an array where all the images are stored in. Default the first three images are displayed (indices 0, 1 and 2 of the images array). When scrolling the displayed images will move by 1. The items 1, 2 and 3 of the array are displayed.
Furthermore I added some useful functions to the hListView component.