Articles in this section
Category / Section

How to avoid Exception thrown while setting ShowDisplayFieldsOnly property in Pivot Schema designer

1 min read

It might occur due to the property “ShowDisplayFieldsOnly” initialized before the loading of Pivot Schema Designer with applied templates. Please initialize the property after the Pivot Schema designer loaded.

C#

public MainWindow()
{
InitializeComponent();
this.SchemaDesigner.Loaded += SchemaDesigner_Loaded;
}
void SchemaDesigner_Loaded(object sender, RoutedEventArgs e)
{
this.SchemaDesigner.ShowDisplayFieldsOnly = true;
}

 

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-06-09 16.18.06.png

 

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
Access denied
Access denied