WPF ListView Headers
I was wondering, Most wpf list view the header/columns are movable. Is it possible开发者_如何学C 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!
MSDN is your friend ;)
- ListView on MSDN
- GridView on MSDN
- GridView.AllowsColumnReorder on MSDN
Specifically, the property you're looking for is the GridView.AllowsColumnReorder
<ListView>
<ListView.View>
<GridView AllowsColumnReorder="true">
<!-- content -->
</GridView>
</ListView.View>
</ListView>
精彩评论