W
Wonko the Sane
Hello,
I am creating a ControlTemplate for a ComboBox. This ComboBox will have a
transparent background so it uses the control it is placed in as its
background.
I would like the background of the Popup to also match the parent control.
It cannot use the Transparent background of the ComboBox, because it may span
outside the parent control. However, we want there to be enough flexibility
to place this on different controls, so I don't necessarily know the parent
control type to use FindAncestor against.
Thanks,
WdS
I am creating a ControlTemplate for a ComboBox. This ComboBox will have a
transparent background so it uses the control it is placed in as its
background.
I would like the background of the Popup to also match the parent control.
It cannot use the Transparent background of the ComboBox, because it may span
outside the parent control. However, we want there to be enough flexibility
to place this on different controls, so I don't necessarily know the parent
control type to use FindAncestor against.
Thanks,
WdS