ParentControlDesigner クラス
アセンブリ: System.Design (system.design.dll 内)


ParentControlDesigner は、子コントロールを格納できるコントロールのデザイナの基本クラスを提供します。ParentControlDesigner を使用すると、ControlDesigner クラスおよび ComponentDesigner クラスから継承したメソッドおよび機能の他に、デザイン時の動作を拡張するコントロールに対して、子コントロールを追加、削除、選択、配置できるようになります。
DesignerAttribute を使用してデザイナに型を関連付けることができます。デザイン時の動作のカスタマイズの概要については、「デザイン時サポートの拡張」を参照してください。

カスタム ParentControlDesigner を実装する方法を次の例に示します。このコード例は IToolboxUser インターフェイスのトピックで取り上げているコード例の一部分です。
Imports System Imports System.Collections Imports System.ComponentModel Imports System.ComponentModel.Design Imports System.Diagnostics Imports System.Drawing Imports System.Drawing.Design Imports System.Windows.Forms Imports System.Windows.Forms.Design ' This example contains an IRootDesigner that implements the IToolboxUser interface. ' This example demonstrates how to enable the GetToolSupported method of an IToolboxUser ' designer in order to disable specific toolbox items, and how to respond to the ' invocation of a ToolboxItem in the ToolPicked method of an IToolboxUser implementation. ' This example component class demonstrates the associated IRootDesigner which ' implements the IToolboxUser interface. When designer view is invoked, Visual ' Studio .NET attempts to display a design mode view for the class at the top ' of a code file. This can sometimes fail when the class is one of multiple types ' in a code file, and has a DesignerAttribute associating it with an IRootDesigner. ' Placing a derived class at the top of the code file solves this problem. A ' derived class is not typically needed for this reason, except that placing the ' RootDesignedComponent class in another file is not a simple solution for a code ' example that is packaged in one segment of code. Public Class RootViewSampleComponent Inherits RootDesignedComponent End Class ' The following attribute associates the SampleRootDesigner with this example component. <DesignerAttribute(GetType(SampleRootDesigner), GetType(IRootDesigner))> _ Public Class RootDesignedComponent Inherits System.Windows.Forms.Control End Class ' This example IRootDesigner implements the IToolboxUser interface and provides a ' Windows Forms view technology view for its associated component using an internal ' Control type. ' The following ToolboxItemFilterAttribute enables the GetToolSupported method of this ' IToolboxUser designer to be queried to check for whether to enable or disable all ' ToolboxItems which create any components whose type name begins with "System.Windows.Forms". <ToolboxItemFilterAttribute("System.Windows.Forms", ToolboxItemFilterType.Custom)> _ <System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _ Public Class SampleRootDesigner Inherits ParentControlDesigner Implements IRootDesigner, IToolboxUser ' Member field of custom type RootDesignerView, a control that is shown in the ' design mode document window. This member is cached to reduce processing needed ' to recreate the view control on each call to GetView(). Private m_view As RootDesignerView ' This string array contains type names of components that should not be added to ' the component managed by this designer from the Toolbox. Any ToolboxItems whose ' type name matches a type name in this array will be marked disabled according to ' the signal returned by the IToolboxUser.GetToolSupported method of this designer. Private blockedTypeNames As String() = {"System.Windows.Forms.ListBox", "System.Windows.Forms.GroupBox"} ' IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner. ' This designer provides a display using the Windows Forms view technology. ReadOnly Property SupportedTechnologies() As ViewTechnology() Implements IRootDesigner.SupportedTechnologies Get Return New ViewTechnology() {ViewTechnology.Default} End Get End Property ' This method returns an object that provides the view for this root designer. Function GetView(ByVal technology As ViewTechnology) As Object Implements IRootDesigner.GetView ' If the design environment requests a view technology other than Windows ' Forms, this method throws an Argument Exception. If technology <> ViewTechnology.Default Then Throw New ArgumentException("An unsupported view technology was requested", "Unsupported view technology.") End If ' Creates the view object if it has not yet been initialized. If m_view Is Nothing Then m_view = New RootDesignerView(Me) End If Return m_view End Function ' This method can signal whether to enable or disable the specified ' ToolboxItem when the component associated with this designer is selected. Function GetToolSupported(ByVal tool As ToolboxItem) As Boolean Implements IToolboxUser.GetToolSupported ' Search the blocked type names array for the type name of the tool ' for which support for is being tested. Return false to indicate the ' tool should be disabled when the associated component is selected. Dim i As Integer For i = 0 To blockedTypeNames.Length - 1 If tool.TypeName = blockedTypeNames(i) Then Return False End If Next i ' Return true to indicate support for the tool, if the type name of the ' tool is not located in the blockedTypeNames string array. Return True End Function ' This method can perform behavior when the specified tool has been invoked. ' Invocation of a ToolboxItem typically creates a component or components, ' and adds any created components to the associated component. Sub ToolPicked(ByVal tool As ToolboxItem) Implements IToolboxUser.ToolPicked End Sub ' This control provides a Windows Forms view technology view object that ' provides a display for the SampleRootDesigner. <DesignerAttribute(GetType(ParentControlDesigner), GetType(IDesigner))> _ Friend Class RootDesignerView Inherits Control ' This field stores a reference to a designer. Private m_designer As IDesigner Public Sub New(ByVal designer As IDesigner) ' Performs basic control initialization. m_designer = designer BackColor = Color.Blue Font = New Font(Font.FontFamily.Name, 24.0F) End Sub ' This method is called to draw the view for the SampleRootDesigner. Protected Overrides Sub OnPaint(ByVal pe As PaintEventArgs) MyBase.OnPaint(pe) ' Draws the name of the component in large letters. pe.Graphics.DrawString(m_designer.Component.Site.Name, Font, Brushes.Yellow, New RectangleF(ClientRectangle.X, ClientRectangle.Y, ClientRectangle.Width, ClientRectangle.Height)) End Sub End Class End Class
using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Drawing; using System.Drawing.Design; using System.Windows.Forms; using System.Windows.Forms.Design; // This example contains an IRootDesigner that implements the IToolboxUser interface. // This example demonstrates how to enable the GetToolSupported method of an IToolboxUser // designer in order to disable specific toolbox items, and how to respond to the // invocation of a ToolboxItem in the ToolPicked method of an IToolboxUser implementation. namespace IToolboxUserExample { // This example component class demonstrates the associated IRootDesigner which // implements the IToolboxUser interface. When designer view is invoked, Visual // Studio .NET attempts to display a design mode view for the class at the top // of a code file. This can sometimes fail when the class is one of multiple types // in a code file, and has a DesignerAttribute associating it with an IRootDesigner. // Placing a derived class at the top of the code file solves this problem. A // derived class is not typically needed for this reason, except that placing the // RootDesignedComponent class in another file is not a simple solution for a code // example that is packaged in one segment of code. public class RootViewSampleComponent : RootDesignedComponent { } // The following attribute associates the SampleRootDesigner with this example component. [DesignerAttribute(typeof(SampleRootDesigner), typeof(IRootDesigner))] public class RootDesignedComponent : System.Windows.Forms.Control { } // This example IRootDesigner implements the IToolboxUser interface and provides a // Windows Forms view technology view for its associated component using an internal // Control type. // The following ToolboxItemFilterAttribute enables the GetToolSupported method of this // IToolboxUser designer to be queried to check for whether to enable or disable all // ToolboxItems which create any components whose type name begins with "System.Windows.Forms". [ToolboxItemFilterAttribute("System.Windows.Forms", ToolboxItemFilterType.Custom)] [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] public class SampleRootDesigner : ParentControlDesigner, IRootDesigner, IToolboxUser { // This field is a custom Control type named RootDesignerView. This field references // a control that is shown in the design mode document window. private RootDesignerView view; // This string array contains type names of components that should not be added to // the component managed by this designer from the Toolbox. Any ToolboxItems whose // type name matches a type name in this array will be marked disabled according to // the signal returned by the IToolboxUser.GetToolSupported method of this designer. private string[] blockedTypeNames = { "System.Windows.Forms.ListBox", "System.Windows.Forms.GroupBox" }; // IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner. // This designer provides a display using the Windows Forms view technology. ViewTechnology[] IRootDesigner.SupportedTechnologies { get { return new ViewTechnology[] {ViewTechnology.Default}; } } // This method returns an object that provides the view for this root designer. object IRootDesigner.GetView(ViewTechnology technology) { // If the design environment requests a view technology other than Windows // Forms, this method throws an Argument Exception. if (technology != ViewTechnology.Default) throw new ArgumentException("An unsupported view technology was requested", "Unsupported view technology."); // Creates the view object if it has not yet been initialized. if (view == null) view = new RootDesignerView(this); return view; } // This method can signal whether to enable or disable the specified // ToolboxItem when the component associated with this designer is selected. bool IToolboxUser.GetToolSupported(ToolboxItem tool) { // Search the blocked type names array for the type name of the tool // for which support for is being tested. Return false to indicate the // tool should be disabled when the associated component is selected. for( int i=0; i<blockedTypeNames.Length; i++ ) if( tool.TypeName == blockedTypeNames[i] ) return false; // Return true to indicate support for the tool, if the type name of the // tool is not located in the blockedTypeNames string array. return true; } // This method can perform behavior when the specified tool has been invoked. // Invocation of a ToolboxItem typically creates a component or components, // and adds any created components to the associated component. void IToolboxUser.ToolPicked(ToolboxItem tool) { } // This control provides a Windows Forms view technology view object that // provides a display for the SampleRootDesigner. [DesignerAttribute(typeof(ParentControlDesigner), typeof(IDesigner))] internal class RootDesignerView : Control { // This field stores a reference to a designer. private IDesigner m_designer; public RootDesignerView(IDesigner designer) { // Perform basic control initialization. m_designer = designer; BackColor = Color.Blue; Font = new Font(Font.FontFamily.Name, 24.0f); } // This method is called to draw the view for the SampleRootDesigner. protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); // Draw the name of the component in large letters. pe.Graphics.DrawString(m_designer.Component.Site.Name, Font, Brushes.Yellow, ClientRectangle); } } } }

System.ComponentModel.Design.ComponentDesigner
System.Windows.Forms.Design.ControlDesigner
System.Windows.Forms.Design.ParentControlDesigner
System.Windows.Forms.Design.ScrollableControlDesigner


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ParentControlDesigner コンストラクタ
アセンブリ: System.Design (system.design.dll 内)



Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ParentControlDesigner フィールド
ParentControlDesigner プロパティ

名前 | 説明 | |
---|---|---|
![]() | AccessibilityObject | コントロールに割り当てられた AccessibleObject を取得します。 ( ControlDesigner から継承されます。) |
![]() | ActionLists | デザイナに関連付けられているコンポーネントでサポートされているデザイン時アクション リストを取得します。 ( ComponentDesigner から継承されます。) |
![]() | AssociatedComponents | デザイナで管理されているコンポーネントに関連付けられているコンポーネントのコレクションを取得します。 ( ControlDesigner から継承されます。) |
![]() | AutoResizeHandles | AutoSize プロパティの値に基づいてサイズ変更ハンドルを割り当てるかどうかを示す値を取得または設定します。 ( ControlDesigner から継承されます。) |
![]() | Component | デザイナがデザインするコンポーネントを取得します。 ( ComponentDesigner から継承されます。) |
![]() | Control | デザイナがデザインするコントロールを取得します。 ( ControlDesigner から継承されます。) |
![]() | ParticipatesWithSnapLines | ドラッグ操作中に ControlDesigner でスナップ線を配置できるかどうかを示す値を取得します。 ( ControlDesigner から継承されます。) |
![]() | SelectionRules | コンポーネントの移動機能を示す選択規則を取得します。 ( ControlDesigner から継承されます。) |
![]() | SnapLines | オーバーライドされます。 このコントロールの有効な配置ポイントを表す SnapLine オブジェクトの一覧を取得します。 |
![]() | Verbs | デサイナに関連付けられているコンポーネントがサポートしているデザイン時の動詞を取得します。 ( ComponentDesigner から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | AllowControlLasso | 選択されたコントロールに親が再指定されるかどうかを示す値を取得します。 |
![]() | AllowGenericDragBox | ツールボックス項目をデザイナ画面にドラッグしたときに、ジェネリック ダイアログ ボックスを描画するかどうかを示す値を取得します。 |
![]() | AllowSetChildIndexOnDrop | ドラッグしたコントロールを ParentControlDesigner にドロップしたときに、ドラッグしたコントロールの z オーダーを維持するかどうかを示す値を取得します。 |
![]() | BehaviorService | デザイン環境から BehaviorService を取得します。 ( ControlDesigner から継承されます。) |
![]() | DefaultControlLocation | デザイナに追加されたコントロールの既定の位置を取得します。 |
![]() | DrawGrid | このデザイナのコントロールにグリッドを描画するかどうかを示す値を取得または設定します。 |
![]() | EnableDragRect | オーバーライドされます。 デザイナによってドラッグ四角形が描画されるかどうかを示す値を取得します。 |
![]() | GridSize | デザイナがグリッド描画モードのときに描画されるグリッドの各四角形のサイズを取得または設定します。 |
![]() | InheritanceAttribute | デザイナの System.ComponentModel.InheritanceAttribute を取得します。 ( ControlDesigner から継承されます。) |
![]() | Inherited | コンポーネントが継承されているかどうかを示す値を取得します。 ( ComponentDesigner から継承されます。) |
![]() | MouseDragTool | ドラッグ操作中に、デザイナに有効なツールがあるかどうかを示す値を取得します。 |
![]() | ParentComponent | ControlDesigner の親コンポーネントを取得します。 ( ControlDesigner から継承されます。) |
![]() | ShadowProperties | ユーザー設定値をオーバーライドするプロパティ値のコレクションを取得します。 ( ComponentDesigner から継承されます。) |

ParentControlDesigner メソッド

名前 | 説明 | |
---|---|---|
![]() | CanBeParentedTo | このデザイナのコントロールが、指定したデザイナのコントロールを親として持つことができるかどうかを示します。 ( ControlDesigner から継承されます。) |
![]() | CanParent | オーバーロードされます。 指定したコントロールをデザイナによって管理されるコントロールの子にできるかどうかを示します。 |
![]() | Dispose | オーバーロードされます。 ParentControlDesigner によって使用されているアンマネージ リソースを解放し、オプションでマネージ リソースも解放します。 |
![]() | DoDefaultAction | コンポーネントの既定イベントに対するメソッド シグネチャをソース コード ファイル内に作成し、コード内のその位置にカーソルを移動します。 ( ComponentDesigner から継承されます。) |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetGlyphs | オーバーライドされます。 標準コントロールの選択境界線とグラブ ハンドルを表す Glyph オブジェクトのコレクションを取得します。 |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | Initialize | オーバーライドされます。 コンポーネントを指定して、デザイナを初期化します。 |
![]() | InitializeExistingComponent | 既存のコンポーネントを再初期化します。 ( ControlDesigner から継承されます。) |
![]() | InitializeNewComponent | オーバーライドされます。 |
![]() | InitializeNonDefault | 既定値以外の値に既に初期化されている、インポートされたコンポーネントの設定値を初期化します。 ( ComponentDesigner から継承されます。) |
![]() | InternalControlDesigner | ControlDesigner の指定されたインデックス位置の内部コントロール デザイナを返します。 ( ControlDesigner から継承されます。) |
![]() | NumberOfInternalControlDesigners | ControlDesigner 内の内部コントロール デザイナの数を返します。 ( ControlDesigner から継承されます。) |
![]() | OnSetComponentDefaults | デザイナが初期化されるときに呼び出されます。 ( ControlDesigner から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | AddPaddingSnapLines | 埋め込みスナップ線を追加します。 |
![]() | BaseWndProc | Windows メッセージを処理します。 ( ControlDesigner から継承されます。) |
![]() | CreateTool | オーバーロードされます。 指定したツールからコンポーネントまたはコントロールを作成し、それを現在のデザイン ドキュメントに追加します。 |
![]() | CreateToolCore | すべての CreateTool メソッドのコア機能を提供します。 |
![]() | DefWndProc | Windows メッセージの既定の処理を提供します。 ( ControlDesigner から継承されます。) |
![]() | DisplayError | 指定した例外に関する情報をユーザーに表示します。 ( ControlDesigner から継承されます。) |
![]() | Dispose | オーバーロードされます。 オーバーライドされます。 ParentControlDesigner によって使用されているアンマネージ リソースを解放し、オプションでマネージ リソースも解放します。 |
![]() | EnableDesignMode | 子コントロールに対するデザイン時の機能を有効にします。 ( ControlDesigner から継承されます。) |
![]() | EnableDragDrop | デザイン中のコントロールに対して、ドラッグ アンド ドロップのサポートを有効または無効にします。 ( ControlDesigner から継承されます。) |
![]() | Finalize | ガベージ コレクションでオブジェクトがクリアされる前に、Dispose(false) を呼び出して、リソースの解放を試みます。 ( ComponentDesigner から継承されます。) |
![]() | GetControl | 指定したコンポーネントのデザイナからコントロールを取得します。 |
![]() | GetControlGlyph | オーバーライドされます。 コントロールの境界を表す本体グリフを取得します。 |
![]() | GetHitTest | 指定した点でのマウス クリックがコントロールによって処理されるかどうかを示します。 ( ControlDesigner から継承されます。) |
![]() | GetParentForComponent | コンポーネントを追加する際に、デザイン中のコントロール、または Container が返されるかどうかを判断するために、派生クラスで使用されます。 |
![]() | GetService | デザイナのコンポーネントのデザイン モード サイトから、指定した型のサービスの取得を試みます。 ( ComponentDesigner から継承されます。) |
![]() | GetUpdatedRect | グリッド配置モードが有効な場合は、指定した四角形の位置をグリッドの配置に合わせて更新します。 |
![]() | HookChildControls | 指定したコントロールの子コントロールからのメッセージをデザイナにルーティングします。 ( ControlDesigner から継承されます。) |
![]() | InvokeCreateTool | 指定した ToolboxItem からツールを作成します。 |
![]() | InvokeGetInheritanceAttribute | 指定した ComponentDesigner の InheritanceAttribute を取得します。 ( ComponentDesigner から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |
![]() | OnContextMenu | コンテキスト メニューを表示し、コンテキスト メニューが表示される直前に追加処理を実行する機会を提供します。 ( ControlDesigner から継承されます。) |
![]() | OnCreateHandle | 制御ハンドルが作成された直後に、追加処理を実行する機会を提供します。 ( ControlDesigner から継承されます。) |
![]() | OnDragComplete | オーバーライドされます。 ドラッグ アンド ドロップ操作をクリーンアップするために呼び出されます。 |
![]() | OnDragDrop | オーバーライドされます。 ドラッグ アンド ドロップ オブジェクトがコントロールのデザイナ ビューにドロップされると呼び出されます。 |
![]() | OnDragEnter | オーバーライドされます。 ドラッグ アンド ドロップ操作がコントロールのデザイナ ビューに入ると呼び出されます。 |
![]() | OnDragLeave | オーバーライドされます。 ドラッグ アンド ドロップ操作がコントロールのデザイナ ビューを離れると呼び出されます。 |
![]() | OnDragOver | オーバーライドされます。 ドラッグ アンド ドロップ オブジェクトがコントロールのデザイナ ビュー上にドラッグされると呼び出されます。 |
![]() | OnGiveFeedback | ドラッグ アンド ドロップの操作中に呼び出しを受信し、ドラッグ操作のマウスの位置に基づいてビジュアル キューを提供します。 ( ControlDesigner から継承されます。) |
![]() | OnMouseDragBegin | オーバーライドされます。 コンポーネント上でマウスの左ボタンをしばらく押したままにすると応答して呼び出されます。 |
![]() | OnMouseDragEnd | オーバーライドされます。 ドラッグ アンド ドロップ操作の終了時に呼び出され、操作を完了またはキャンセルします。 |
![]() | OnMouseDragMove | オーバーライドされます。 ドラッグ アンド ドロップ操作中にマウスが移動するたびに呼び出されます。 |
![]() | OnMouseEnter | マウスが最初にコントロールに入ると呼び出しを受信します。 ( ControlDesigner から継承されます。) |
![]() | OnMouseHover | マウスがコントロールの上にあるときに呼び出しを受信します。 ( ControlDesigner から継承されます。) |
![]() | OnMouseLeave | マウスが最初にコントロールに入ると呼び出しを受信します。 ( ControlDesigner から継承されます。) |
![]() | OnPaintAdornments | オーバーライドされます。 デザイナが管理しているコントロールが表面を描画したときに呼び出され、デザイナがコントロールの一番上に追加の表示要素を描画できるようにします。 |
![]() | OnSetCursor | オーバーライドされます。 現在のマウス カーソルを変更できるようにします。 |
![]() | PostFilterAttributes | デザイナが、TypeDescriptor を通じて公開する一連の属性から、項目を変更または削除できるようにします。 ( ComponentDesigner から継承されます。) |
![]() | PostFilterEvents | デザイナが、TypeDescriptor を通じて公開する一連のイベントから、項目を変更または削除できるようにします。 ( ComponentDesigner から継承されます。) |
![]() | PostFilterProperties | デザイナが、TypeDescriptor を通じて公開する一連のプロパティから、項目を変更または削除できるようにします。 ( ComponentDesigner から継承されます。) |
![]() | PreFilterAttributes | デザイナが、TypeDescriptor を通じて公開する一連の属性に項目を追加できるようにします。 ( ComponentDesigner から継承されます。) |
![]() | PreFilterEvents | デザイナが、TypeDescriptor を通じて公開する一連のイベントに項目を追加できるようにします。 ( ComponentDesigner から継承されます。) |
![]() | PreFilterProperties | オーバーライドされます。 TypeDescriptor を通じてコンポーネントが公開するプロパティのセットを調整します。 |
![]() | RaiseComponentChanged | コンポーネントが変更されたことを IComponentChangeService に通知します。 ( ComponentDesigner から継承されます。) |
![]() | RaiseComponentChanging | コンポーネントが変更されようとしていることを IComponentChangeService に通知します。 ( ComponentDesigner から継承されます。) |
![]() | UnhookChildControls | 指定したコントロールの子に対するメッセージを親デザイナではなく各コントロールにルーティングします。 ( ControlDesigner から継承されます。) |
![]() | WndProc | Windows メッセージを処理し、必要に応じてコントロールにルーティングします。 ( ControlDesigner から継承されます。) |

ParentControlDesigner メンバ
入れ子にされたコントロールをサポートする Control のデザイン モードの動作を拡張します。
ParentControlDesigner データ型で公開されるメンバを以下の表に示します。



名前 | 説明 | |
---|---|---|
![]() | AccessibilityObject | コントロールに割り当てられた AccessibleObject を取得します。(ControlDesigner から継承されます。) |
![]() | ActionLists | デザイナに関連付けられているコンポーネントでサポートされているデザイン時アクション リストを取得します。(ComponentDesigner から継承されます。) |
![]() | AssociatedComponents | デザイナで管理されているコンポーネントに関連付けられているコンポーネントのコレクションを取得します。(ControlDesigner から継承されます。) |
![]() | AutoResizeHandles | AutoSize プロパティの値に基づいてサイズ変更ハンドルを割り当てるかどうかを示す値を取得または設定します。 (ControlDesigner から継承されます。) |
![]() | Component | デザイナがデザインするコンポーネントを取得します。(ComponentDesigner から継承されます。) |
![]() | Control | デザイナがデザインするコントロールを取得します。(ControlDesigner から継承されます。) |
![]() | ParticipatesWithSnapLines | ドラッグ操作中に ControlDesigner でスナップ線を配置できるかどうかを示す値を取得します。(ControlDesigner から継承されます。) |
![]() | SelectionRules | コンポーネントの移動機能を示す選択規則を取得します。(ControlDesigner から継承されます。) |
![]() | SnapLines | オーバーライドされます。 このコントロールの有効な配置ポイントを表す SnapLine オブジェクトの一覧を取得します。 |
![]() | Verbs | デサイナに関連付けられているコンポーネントがサポートしているデザイン時の動詞を取得します。(ComponentDesigner から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | AllowControlLasso | 選択されたコントロールに親が再指定されるかどうかを示す値を取得します。 |
![]() | AllowGenericDragBox | ツールボックス項目をデザイナ画面にドラッグしたときに、ジェネリック ダイアログ ボックスを描画するかどうかを示す値を取得します。 |
![]() | AllowSetChildIndexOnDrop | ドラッグしたコントロールを ParentControlDesigner にドロップしたときに、ドラッグしたコントロールの z オーダーを維持するかどうかを示す値を取得します。 |
![]() | BehaviorService | デザイン環境から BehaviorService を取得します。(ControlDesigner から継承されます。) |
![]() | DefaultControlLocation | デザイナに追加されたコントロールの既定の位置を取得します。 |
![]() | DrawGrid | このデザイナのコントロールにグリッドを描画するかどうかを示す値を取得または設定します。 |
![]() | EnableDragRect | オーバーライドされます。 デザイナによってドラッグ四角形が描画されるかどうかを示す値を取得します。 |
![]() | GridSize | デザイナがグリッド描画モードのときに描画されるグリッドの各四角形のサイズを取得または設定します。 |
![]() | InheritanceAttribute | デザイナの System.ComponentModel.InheritanceAttribute を取得します。(ControlDesigner から継承されます。) |
![]() | Inherited | コンポーネントが継承されているかどうかを示す値を取得します。(ComponentDesigner から継承されます。) |
![]() | MouseDragTool | ドラッグ操作中に、デザイナに有効なツールがあるかどうかを示す値を取得します。 |
![]() | ParentComponent | ControlDesigner の親コンポーネントを取得します。(ControlDesigner から継承されます。) |
![]() | ShadowProperties | ユーザー設定値をオーバーライドするプロパティ値のコレクションを取得します。(ComponentDesigner から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | CanBeParentedTo | このデザイナのコントロールが、指定したデザイナのコントロールを親として持つことができるかどうかを示します。 (ControlDesigner から継承されます。) |
![]() | CanParent | オーバーロードされます。 指定したコントロールをデザイナによって管理されるコントロールの子にできるかどうかを示します。 |
![]() | Dispose | オーバーロードされます。 ParentControlDesigner によって使用されているアンマネージ リソースを解放し、オプションでマネージ リソースも解放します。 |
![]() | DoDefaultAction | コンポーネントの既定イベントに対するメソッド シグネチャをソース コード ファイル内に作成し、コード内のその位置にカーソルを移動します。 (ComponentDesigner から継承されます。) |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetGlyphs | オーバーライドされます。 標準コントロールの選択境界線とグラブ ハンドルを表す Glyph オブジェクトのコレクションを取得します。 |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | Initialize | オーバーライドされます。 コンポーネントを指定して、デザイナを初期化します。 |
![]() | InitializeExistingComponent | 既存のコンポーネントを再初期化します。 (ControlDesigner から継承されます。) |
![]() | InitializeNewComponent | オーバーライドされます。 |
![]() | InitializeNonDefault | 既定値以外の値に既に初期化されている、インポートされたコンポーネントの設定値を初期化します。 (ComponentDesigner から継承されます。) |
![]() | InternalControlDesigner | ControlDesigner の指定されたインデックス位置の内部コントロール デザイナを返します。 (ControlDesigner から継承されます。) |
![]() | NumberOfInternalControlDesigners | ControlDesigner 内の内部コントロール デザイナの数を返します。 (ControlDesigner から継承されます。) |
![]() | OnSetComponentDefaults | デザイナが初期化されるときに呼び出されます。 (ControlDesigner から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | AddPaddingSnapLines | 埋め込みスナップ線を追加します。 |
![]() | BaseWndProc | Windows メッセージを処理します。 (ControlDesigner から継承されます。) |
![]() | CreateTool | オーバーロードされます。 指定したツールからコンポーネントまたはコントロールを作成し、それを現在のデザイン ドキュメントに追加します。 |
![]() | CreateToolCore | すべての CreateTool メソッドのコア機能を提供します。 |
![]() | DefWndProc | Windows メッセージの既定の処理を提供します。 (ControlDesigner から継承されます。) |
![]() | DisplayError | 指定した例外に関する情報をユーザーに表示します。 (ControlDesigner から継承されます。) |
![]() | Dispose | オーバーロードされます。 オーバーライドされます。 ParentControlDesigner によって使用されているアンマネージ リソースを解放し、オプションでマネージ リソースも解放します。 |
![]() | EnableDesignMode | 子コントロールに対するデザイン時の機能を有効にします。 (ControlDesigner から継承されます。) |
![]() | EnableDragDrop | デザイン中のコントロールに対して、ドラッグ アンド ドロップのサポートを有効または無効にします。 (ControlDesigner から継承されます。) |
![]() | Finalize | ガベージ コレクションでオブジェクトがクリアされる前に、Dispose(false) を呼び出して、リソースの解放を試みます。 (ComponentDesigner から継承されます。) |
![]() | GetControl | 指定したコンポーネントのデザイナからコントロールを取得します。 |
![]() | GetControlGlyph | オーバーライドされます。 コントロールの境界を表す本体グリフを取得します。 |
![]() | GetHitTest | 指定した点でのマウス クリックがコントロールによって処理されるかどうかを示します。 (ControlDesigner から継承されます。) |
![]() | GetParentForComponent | コンポーネントを追加する際に、デザイン中のコントロール、または Container が返されるかどうかを判断するために、派生クラスで使用されます。 |
![]() | GetService | デザイナのコンポーネントのデザイン モード サイトから、指定した型のサービスの取得を試みます。 (ComponentDesigner から継承されます。) |
![]() | GetUpdatedRect | グリッド配置モードが有効な場合は、指定した四角形の位置をグリッドの配置に合わせて更新します。 |
![]() | HookChildControls | 指定したコントロールの子コントロールからのメッセージをデザイナにルーティングします。 (ControlDesigner から継承されます。) |
![]() | InvokeCreateTool | 指定した ToolboxItem からツールを作成します。 |
![]() | InvokeGetInheritanceAttribute | 指定した ComponentDesigner の InheritanceAttribute を取得します。 (ComponentDesigner から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
![]() | OnContextMenu | コンテキスト メニューを表示し、コンテキスト メニューが表示される直前に追加処理を実行する機会を提供します。 (ControlDesigner から継承されます。) |
![]() | OnCreateHandle | 制御ハンドルが作成された直後に、追加処理を実行する機会を提供します。 (ControlDesigner から継承されます。) |
![]() | OnDragComplete | オーバーライドされます。 ドラッグ アンド ドロップ操作をクリーンアップするために呼び出されます。 |
![]() | OnDragDrop | オーバーライドされます。 ドラッグ アンド ドロップ オブジェクトがコントロールのデザイナ ビューにドロップされると呼び出されます。 |
![]() | OnDragEnter | オーバーライドされます。 ドラッグ アンド ドロップ操作がコントロールのデザイナ ビューに入ると呼び出されます。 |
![]() | OnDragLeave | オーバーライドされます。 ドラッグ アンド ドロップ操作がコントロールのデザイナ ビューを離れると呼び出されます。 |
![]() | OnDragOver | オーバーライドされます。 ドラッグ アンド ドロップ オブジェクトがコントロールのデザイナ ビュー上にドラッグされると呼び出されます。 |
![]() | OnGiveFeedback | ドラッグ アンド ドロップの操作中に呼び出しを受信し、ドラッグ操作のマウスの位置に基づいてビジュアル キューを提供します。 (ControlDesigner から継承されます。) |
![]() | OnMouseDragBegin | オーバーライドされます。 コンポーネント上でマウスの左ボタンをしばらく押したままにすると応答して呼び出されます。 |
![]() | OnMouseDragEnd | オーバーライドされます。 ドラッグ アンド ドロップ操作の終了時に呼び出され、操作を完了またはキャンセルします。 |
![]() | OnMouseDragMove | オーバーライドされます。 ドラッグ アンド ドロップ操作中にマウスが移動するたびに呼び出されます。 |
![]() | OnMouseEnter | マウスが最初にコントロールに入ると呼び出しを受信します。 (ControlDesigner から継承されます。) |
![]() | OnMouseHover | マウスがコントロールの上にあるときに呼び出しを受信します。 (ControlDesigner から継承されます。) |
![]() | OnMouseLeave | マウスが最初にコントロールに入ると呼び出しを受信します。 (ControlDesigner から継承されます。) |
![]() | OnPaintAdornments | オーバーライドされます。 デザイナが管理しているコントロールが表面を描画したときに呼び出され、デザイナがコントロールの一番上に追加の表示要素を描画できるようにします。 |
![]() | OnSetCursor | オーバーライドされます。 現在のマウス カーソルを変更できるようにします。 |
![]() | PostFilterAttributes | デザイナが、TypeDescriptor を通じて公開する一連の属性から、項目を変更または削除できるようにします。 (ComponentDesigner から継承されます。) |
![]() | PostFilterEvents | デザイナが、TypeDescriptor を通じて公開する一連のイベントから、項目を変更または削除できるようにします。 (ComponentDesigner から継承されます。) |
![]() | PostFilterProperties | デザイナが、TypeDescriptor を通じて公開する一連のプロパティから、項目を変更または削除できるようにします。 (ComponentDesigner から継承されます。) |
![]() | PreFilterAttributes | デザイナが、TypeDescriptor を通じて公開する一連の属性に項目を追加できるようにします。 (ComponentDesigner から継承されます。) |
![]() | PreFilterEvents | デザイナが、TypeDescriptor を通じて公開する一連のイベントに項目を追加できるようにします。 (ComponentDesigner から継承されます。) |
![]() | PreFilterProperties | オーバーライドされます。 TypeDescriptor を通じてコンポーネントが公開するプロパティのセットを調整します。 |
![]() | RaiseComponentChanged | コンポーネントが変更されたことを IComponentChangeService に通知します。 (ComponentDesigner から継承されます。) |
![]() | RaiseComponentChanging | コンポーネントが変更されようとしていることを IComponentChangeService に通知します。 (ComponentDesigner から継承されます。) |
![]() | UnhookChildControls | 指定したコントロールの子に対するメッセージを親デザイナではなく各コントロールにルーティングします。 (ControlDesigner から継承されます。) |
![]() | WndProc | Windows メッセージを処理し、必要に応じてコントロールにルーティングします。 (ControlDesigner から継承されます。) |

- ParentControlDesignerのページへのリンク