How to Hide the Header of a ListView
To hide the header of a ListView you can modify theVisibility
property of the ColumnHeaderContainer by overriding the style locally.<ListView> <ListView.View> <GridView> <GridView.ColumnHeaderContainerStyle> <Style> <Setter Property="FrameworkElement.Visibility" Value="Collapsed"/> </Style> </GridView.ColumnHeaderContainerStyle> <GridView.Columns> ... </GridView.Columns> </GridView> </ListView.View> </ListView>
No comments:
Post a Comment