ComboBox dropdown doesn't scale (bug?)  
Author Message
_Michael_





PostPosted: Windows Presentation Foundation (WPF), ComboBox dropdown doesn't scale (bug?) Top

I'm finding that when applying a ScaleTransform to a ComboBox, the dropdown window isn't scaling. Has anyone else come across this

Michael



Visual Studio 200820  
 
 
MichaelLatta





PostPosted: Windows Presentation Foundation (WPF), ComboBox dropdown doesn't scale (bug?) Top

If you want the dropdown to scale with the ComboBox you will need to restyle the combobox to apply a matching transform. While it would be nice to have a property on ComboBox that allows easy transform of the popup, this is not currently provided for in the standard control templates.

 
 
_Michael_





PostPosted: Windows Presentation Foundation (WPF), ComboBox dropdown doesn't scale (bug?) Top

Thanks Michael. I haven't done much with styling control templates yet so my understanding is a bit limited here. It still seems like odd behaviour to me. I'm applying a scale transform to a border and all the visuals within the border are scaled so why not the dropdown It's what the user would expect so it should be the default.

Michael