Articles in this section

How to Show or Hide the report buttons in OlapClient

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