My WPF Application is kinda slow in high resolutions when it comes to ComboBoxes. I am pretty sure its the BitmapEffects on the ComboBoxes, especially the DropShadow-Effect on the ItemsPanel.
How can I disable it or completely remove all Bitmap Effects on the ComboBoxes and its children?
You can try to change the ControlTemplate of the
ComboBox. However I would propose to profile first, before loose a lot of time for optimizing things you only suspect to be slow.The microsoft profiling tools are very powerfull to profile WPF-GUIs.
I have not looked into but I don’t think that MS uses
BitmapEffectsin itsControlTemplates. However I already have seen a case where using theDropShadowEffect(this is not aBitmapEffect) has influenced performance very negatively: Updates within it have marked the content of the whole screen as invalid. With Perforator of the performance profiling tools, you will find and fix such problems very fast.