End-users can activate a panel by clicking the panel or any of the controls residing on it. This can also be done via code by setting the dock manager's DockManager.ActivePanel property.
The dock panel cannot be activated in the cases listed below:
-
the dock panel or its parent panel is hidden (its Visibility property is set to the DockVisibility.Hidden value);
-
the dock panel does not belong to a dock manager (the panel's DockManager property's value is null).