Hello,
I have a question about the Docking manager. I am trying to hide/show buttons inside my DockingManager, which I have placed inside of a DocumentContainer (as seen in the attached picture). To hide the buttons, I have created a rectangle on the canvas and drawn over three buttons. When DocumentContainer is maximized, I would like to show all three buttons (set Z Index of white rectangle to the lowest value). When the DocumentContainer is minimized, I would like to hide all three buttons (set Z Index of white rectangle to highest value). The code I wrote works fine for the DocumentContainer by itself, but when I put my DocumentContainer inside of the DockingManager (as seen in attached pic) the setting of Zindex doesn't seem to work anymore.
Any ideas on why Z Index setting isn't working? I've also tried just setting visibility of buttons on and off but it causes the buttons to break because of the binding (they are minimize, maximize, restore buttons).
noButtons_1ca6bee7.jpg