Category / Section
How to Customize Pivot Schema Designer
1 min read
To disable/hide report filter box :
C#
this.schemaDesigner1.FilterList.Visibility = Visibility.Hidden;
To Disable checkbox for show calculations as column and defer layout update:
C#
this.schemaDesigner1.DeferLayoutUpdateButton.Visibility = Visibility.Hidden; this.schemaDesigner1.ShowCalculationsAsColumnCheckBox.Visibility=Visibility.Hidden; this.schemaDesigner1.DeferLayoutUpdateCheckBox.Visibility = Visibility.Hidden;
To Disable "Choose field to add to the report" box for end user as we dont want use the de-select fields from the grid.
C#
this.schemaDesigner1.PivotTableFieldList.Visibility = Visibility.Hidden;
To hide the label “Choose field to add to report”
C#
(this.schemaDesigner1.PivotTableFieldList.Parent as Grid).Visibility = Visibility.Hidden;
To hide the label “Report Filter”
C#
(this.schemaDesigner1.FilterList.Parent as Grid).Children[1].Visibility = Visibility.Hidden;