Articles in this section
Category / Section

How to Hide or remove the Drop Filter fields here in the grouping bar

2 mins read

It can be done by assigning the null value to the Filter Header Area TextBlock in the grouping bar. The following code snippet explains the same.

C#

void pivotGrid1_Loaded(object sender, RoutedEventArgs e)
{
if (this.pivotGrid1.ShowGroupingBar)
{
(this.pivotGrid1.GroupingBar.FilterHeaderArea.Items[0] as TextBlock).Text = " ";
}
}

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment