ReorderListView in WPF

Posted by Philipp Schmid on Stack Overflow See other posts from Stack Overflow or by Philipp Schmid
Published on 2010-04-28T16:30:39Z Indexed on 2010/04/28 16:33 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

I love the controls from the Bag-Of-Tricks.

I am interested in modifying the ReorderListBox control to get a ReorderListView control. However, simply changing the base class from ListBox to ListView is not working.

When I try to add a ReorderListView to XAML like this:

  <lib:ReorderListView Grid.Row="1">
        <ReorderListView.View>
            <GridView>
                <GridViewColumn Header="Data1" />
            </GridView>
        </ReorderListView.View>
  </lib:ReorderListView>

I get an error ("The tag 'ReorderListView.View' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.)

How do I modify the ReorderListBox example to get this to work? Has anyone already succeeded in doing this?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about listview