I have a pane docked to the bottom of my application. I will like the pane to always be visible and not movable. I am able to accomplish this by setting the properties AllowClose, AllowDockAsTab, AllowDragging, AllowFloating, and AllowPin to false. I also want to prevent other tabs from being docked to that dock area, but I have not been able to do that. Basically, I want the pane to be the only pane in the group. How do I accomplish this? I have not found a property that will allow me to do this. Do I need to handle an event to prevent other tabs from being added to the group?
Hello Jose,
Thank you for posting. Unfortunately, we do not have any property /event exposed to prevent a tab being docked to the existing dock.But if you want only this pane in the group then why don’t you use a panel or maybe expansion panel .
Let me know if you have any question.
Regards,Divya Jain
Divya, I am not sure what you mean by an expansion panel. By looking at the code, I see that DragManager.PaneLocator.FindPanelElement is what finds the drop target when dragging. I will like to add a setting to DockAreaPane or DockAreaPane.Setting that FindPanelElement will check to determine if the DockAreaPane is a valid target. Is that reasonable? If so, what do I need to modify to make that happen?