An NDoc Documented Class Library

ContainerStatusBar.GetHostingPanel Method 

Examines the exisitng panels hosted by the ContainerStatusBar to determine if any of them already host the control. Used in design mode to ensure that a control is not placed on more than one panel.

public ContainerStatusBarPanel GetHostingPanel(
   Control hostedControl
);

Parameters

hostedControl

Return Value

The ContainerStatusBarPanel hosting the control or null if the control is not hosted on any panels.

See Also

ContainerStatusBar Class | ContainerStatusBar Members | Genghis.Windows.Forms Namespace