AvalonDock icon indicating copy to clipboard operation
AvalonDock copied to clipboard

Setting AllowsTransparency=True

Open dgosbell opened this issue 2 years ago • 0 comments

In v4.60 (and earlier)- normally when you click on a "collapsed" anchorable you see the following and you can resize the window or pin it open:

image

If I add the following settings to the MainWindow.xaml in TestApp

	AllowsTransparency="True"
	WindowStyle="None"

What I see is the following: image

You can see by the fact that the cursor has changed to a horizontal resize cursor that the tool window is actually there, it is just completely transparent.

I'm using the FluentWindow from the FluentRibbon control for the main window of my app and by setting the window to AllowsTransparency=True I can add a corner radius and give my app a more modern Windows 11 feel, but this breaks the ability to pin/unpin tool windows.

dgosbell avatar Nov 17 '21 00:11 dgosbell