ControlDesigner.ParentComponent プロパティ
定義
ControlDesigner の親コンポーネントを取得します。Gets the parent component for the ControlDesigner.
protected:
virtual property System::ComponentModel::IComponent ^ ParentComponent { System::ComponentModel::IComponent ^ get(); };
protected override System.ComponentModel.IComponent ParentComponent { get; }
member this.ParentComponent : System.ComponentModel.IComponent
Protected Overrides ReadOnly Property ParentComponent As IComponent
プロパティ値
ControlDesigner の親コンポーネントです。親コンポーネントがない場合は null
です。The parent component for the ControlDesigner; otherwise, null
if there is no parent component.
注釈
既定の実装は、デザイン中のコンポーネントがコントロールであるかどうかを確認するだけで、そのコンポーネントがある場合はその親 ParentComponent 返します。The default implementation simply checks to see if the component being designed is a control and if it is, ParentComponent returns its parent.