xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.84k stars 866 forks source link

LayoutAnchorableControl invisible #1635

Open RubenValdez opened 3 years ago

RubenValdez commented 3 years ago

Hello, after an mahapps update to version 2.0. in AvalonDock control the PART_AutoHideArea don't show content when is docking, but if the layout is floating this is visible. Another thing thing that I see is the content in PART_AutoHideArea in the Live Visual Tree is at the same level to OverLayWindow and the custom template does not affect to LayoutAnchorableControl imagen

Regards!

RubenValdez commented 3 years ago

Update: I found where is the issue, when the property AllowsTransparency is setted as true in the main Window, the content in PART_AutoHideArea is invisible

XceedBoucherS commented 3 years ago

Hi, You are right, the LayoutAutoHideWindowControl is a HwndHost, which doesn't react very well with AllowTransparency = true: https://stackoverflow.com/questions/25564409/avalon-dock-anchorable-control-is-not-working-if-allowtransparency-set-to-true. This will have the be reviewed. Thank you.