make OverviewPlusDetailPane fully opaque in WPFI am trying to make the overview window of an OrgChart fully opaque and am applying the following style <Style x:Key="overviewPanelStyle" TargetType="ig:XamOverviewPlusDetailPane"> <Setter Property="Opacity" Value="1"/> <Setter Property="Background" Value="#FFFF0000"/> </Style>While this makes the overview background red, it is still slightly transparent, which makes the overview hard to read if there is data behind it.What style do I need to set to accomplish full opacity?
Hello Felix,
I believe the following forum thread is a duplicate. In order to avoid spam and to keep all information in one place, I will continue assisting you on the other thread.
Sincerely,
Tihomir TonevAssociate Software DeveloperInfragistics
Seems the other thread has been removed, so i will post my answer here.
OverviewPlusDetailPane is a standalone control, and while the opacity of the control itself is set to 1 in this case, the underlying element is still at 0.7.
This is by default, as there are implemented animations which change the opacity when you mouse over the element.
In order to modify this, you will need to either create a completely new style and assign it to the xamOrgChart OverviewPlusDetailPaneStyle property, or you can just copy the existing style and modify the properties you wish to.
The default style for the OPDP control can be found in the installation folder on your pc(usually looks like this : C:\Program Files (x86)\Infragistics\2019.2\WPF\DefaultStyles\DataVisualization)
The file is generic.shared and there you can set the starting opacity to 1, as well as modify or remove the animations changing it.
I have attached a sample with base opaque value set to 0.95 that changes to 0.45 when you mouse over it. You can check it and adjust the values in it directly for further reference.
OverviewPlusDetailCustomStyle.zip
Sorry for the cross posting and thank you very much for your help. this helps a lot and answers my question
I am glad that I was able to help you.
Thank you for using Infragistics components.