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
510
Limit pane RepositionToGroup
posted

Is there a way to limit a pane to a particular DockableGroupPane?

Let's say I dock a control pane to GroupA.  I want to allow the user to move and change the pane, even close it, but never allow it to be docked to another group.

Parents
No Data
Reply
  • 12480
    Suggested Answer
    Offline posted

    Hi Joseph,

    You can trap the BeforeDockChange event in order to accomplish this. In the handler for this event, you could check whether the pane is about to be docked to a valid group. If not, you would cancel the event.

    I will look into how you could identify groups in your other thread:
    http://www.infragistics.com/community/forums/t/95727.aspx

    Please let me know if you have any further questions.

Children
No Data