Articles in this section
Category / Section

How to Show or Hide the report buttons in OlapClient

1 min read

The report buttons in the OlapClient ToolBar can be enabled or disabled using “ShowReportButtons” property in OlapClient. The OlapToolBar buttons will be initialized after OlapClient loaded with applied templates. So, we have to set the ShowReportButtons Property as false in Loaded event of OlapClient.

Please refer the below code snippet for the same.

C#

public MainPage()
{
InitializeComponent();
this.DataContext = new ViewModel.ViewModel();
this.olapClient.Loaded += olapClient_Loaded;
}
 
void olapClient_Loaded(object sender, System.Windows.RoutedEventArgs e)
{
this.olapClient.ShowReportButtons = false;
}

 

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