Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
How can we set IsPinned to true while clicking on bottom Docked Content Pane
posted

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

  • 34810
    Offline posted

    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.