Click here to Skip to main content
15,892,537 members
Articles / Desktop Programming / WPF

DraggableListView - Adding drag-to-scroll functionality to ListView in WPF

Rate me:
Please Sign up or sign in to vote.
4.88/5 (13 votes)
3 Oct 2008CPOL4 min read 104.6K   4.8K   43  
A custom ListView that scrolls when its contents are dragged on screen.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace DraggableListViewSample
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : 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)
United States United States
Weidong has been an information system professional since 1990. He has a Master's degree in Computer Science, and is currently a MCSD .NET

Comments and Discussions