Click here to Skip to main content
15,886,689 members
Articles / Desktop Programming / WPF

WPF Custom ListBox with Scrollbar on the Background

Rate me:
Please Sign up or sign in to vote.
4.90/5 (18 votes)
9 Mar 2010CPOL5 min read 100.3K   6.6K   36  
This article explains how to create a ListBox in WPF with the scrollbar in the background and auto-scrolling functionality when hovering over the control ends.
<Application x:Class="AutoScrollListBox.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="MainWindow.xaml">
    <Application.Resources>
         
    </Application.Resources>
</Application>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Software Developer (Senior) Pfizer/MSolutions
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions