添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
public ref class ContainerControl : System::Windows::Forms::ScrollableControl, System::Windows::Forms::IContainerControl
public class ContainerControl : System.Windows.Forms.ScrollableControl, System.Windows.Forms.IContainerControl
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ContainerControl : System.Windows.Forms.ScrollableControl, System.Windows.Forms.IContainerControl
type ContainerControl = class
    inherit ScrollableControl
    interface IContainerControl
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ContainerControl = class
    inherit ScrollableControl
    interface IContainerControl
Public Class ContainerControl
Inherits ScrollableControl
Implements IContainerControl
ContainerControl ContainerControl 表示可做為其他控件容器的控件,並提供焦點管理。 繼承自這個類別的控件可以追蹤其包含的作用中控件,即使焦點移到不同容器內的某處也一樣。

ContainerControl 物件提供自主控制件的邏輯界限。 容器控件可以擷取 TAB 鍵按下,並將焦點移至集合中的下一個控件。

容器控件不會收到焦點;焦點一律設定為內含控件集合中的第一個子控件。

您通常不會直接繼承自 ContainerControl 類別。 Form UserControl 類別 UpDownBase 繼承自 ContainerControl