tags:

views:

54

answers:

1

Hi everyone!

I was wondering, Most wpf list view the header/columns are movable. Is it possible so that we can make them non-draggable or movable at all? does anyone know what this property is called by any chance?

Thanks in advance!

A: 

MSDN is your friend ;)

Specifically, the property you're looking for is the GridView.AllowsColumnReorder

<ListView>
  <ListView.View>
    <GridView AllowsColumnReorder="true">
    <!-- content -->
    </GridView>
  </ListView.View>
</ListView>
Metro Smurf