<ListView ...>
<ListView.View>
<GridView>
...
<GridView.ColumnHeaderContainerStyle>
<Style>
<Setter Property="FrameworkElement.Visibility" Value="Collapsed" />
</Style>
</GridView.ColumnHeaderContainerStyle>
...
</GridViewColumn>
</ListView.View>
</ListView>
Tuesday, August 11, 2015
WPF: How to hide the header of a listview
Just add the following style with GridView.ColumnHeaderContainerStyle tag to your XAML:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment