File: System\Windows\Forms\Layout\Containers\IContainerControl.cs
Web Access
Project: src\src\System.Windows.Forms\src\System.Windows.Forms.csproj (System.Windows.Forms)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Windows.Forms;
 
/// <summary>
///  Provides functionality for a control to parent other controls.
/// </summary>
public interface IContainerControl
{
    /// <summary>
    ///  Indicates the control that is currently active on the container control.
    /// </summary>
    Control? ActiveControl { get; set; }
 
    /// <summary>
    ///  Activates the specified control.
    /// </summary>
    bool ActivateControl(Control active);
}