ContainerControl.IContainerControl.ActivateControl Method (Control)
.NET Framework (current version)
Activates the specified control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
private abstract ActivateControl : control:Control -> bool private override ActivateControl : control:Control -> bool
Parameters
- control
-
Type:
System.Windows.Forms.Control
The Control to activate.
The control parameter must be a child of the container control.
The following code example demonstrates how to inherit from the ScrollableControl class and implement the IContainerControl interface. Implementation is added to the ActiveControl property and the ActivateControl method.
.NET Framework
Available since 1.1
Available since 1.1
Show: