We have an application, in which we have requirement after clicking on Conent Paneit should be Pinned in the half of the area of Form and the other Pane/Control should be shrinked. Like it happend after clicking on Pin button. We need the same behavior after clicking on the bottom Docked Pane.
Also, how Content Pane height should be automatically adjusted to 50%.
Note: We have set UnpinnedTabHoverAction="None" in our application.
Please find the attached Sample for your refernece.
XamDockManagerCloseBtnCase.rar
Hello Narendra,
Regarding the way to ensure that the ContentPane’s height is automatically adjusted to 50%, you can set the Height of the ContentPane or the SplitPane containing the ContentPane to XamDockManager.ActualHeight / 2.
Regarding the other bits of your description, I would just like to confirm the requirement that you are looking to achieve in this case. Are you saying that you wish to essentially pin the ContentPane to the bottom when you click on it (or its header?) in this case? If this is the case, please let me know.
Please let me know if you have any other questions or concerns on this matter.
Can we set the height of Content pane in .xaml file as xamDockManager.ActualHeight/2?
Yes correct, I want to pin it to Bottom after clicking on it's header. If this docked in Left and Right, in that it should be pin to Left and Right.
Also, in which event we can set the height for Content/Split pane so that it will work in each case. Can you provide the solution in tha Sample.