Name
IContainerControl
Synopsis
Any derived Control
object can be made to contain
other controls. In addition to setting the
ControlStyles.ContainerControl
, you should
implement this interface to support the management and activation of
child controls.
The current ActiveControl
can be set or retrieved,
and you should implement ActivateControl()
to
allow the framework to activate a particular child.
public interface IContainerControl { // Public Instance Properties public Control ActiveControl{set; get; } // Public Instance Methods public bool ActivateControl(Control active); }
Implemented By
ContainerControl
Returned By
Control.GetContainerControl()
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.