ParentControlDesigner 클래스

정의

중첩 컨트롤을 지원하는 Control 의 디자인 모드 동작을 확장합니다.

public ref class ParentControlDesigner : System::Windows::Forms::Design::ControlDesigner
public class ParentControlDesigner : System.Windows.Forms.Design.ControlDesigner
type ParentControlDesigner = class
    inherit ControlDesigner
Public Class ParentControlDesigner
Inherits ControlDesigner
상속
ParentControlDesigner
파생

예제

다음 예제에서는 사용자 지정 ParentControlDesigner을 구현하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 IToolboxUser 인터페이스입니다.

#using <System.Drawing.dll>
#using <System.dll>
#using <System.Design.dll>
#using <System.Windows.Forms.dll>

using namespace System;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::ComponentModel::Design;
using namespace System::Diagnostics;
using namespace System::Drawing;
using namespace System::Drawing::Design;
using namespace System::Windows::Forms;
using namespace 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.
public ref class SampleRootDesigner;

// The following attribute associates the SampleRootDesigner with this example component.

[DesignerAttribute(__typeof(SampleRootDesigner),__typeof(IRootDesigner))]
public ref class RootDesignedComponent: public Control{};


// 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 ref class RootViewSampleComponent: public RootDesignedComponent{};


// 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(S"System.Windows.Forms",ToolboxItemFilterType::Custom)]
public ref class SampleRootDesigner: public ParentControlDesigner, public IRootDesigner, public IToolboxUser
{
public private:
   ref class RootDesignerView;

private:

   // This field is a custom Control type named RootDesignerView. This field references
   // a control that is shown in the design mode document window.
   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.
   array<String^>^blockedTypeNames;

public:
   SampleRootDesigner()
   {
      array<String^>^tempTypeNames = {"System.Windows.Forms.ListBox","System.Windows.Forms.GroupBox"};
      blockedTypeNames = tempTypeNames;
   }


private:

   property array<ViewTechnology>^ SupportedTechnologies 
   {

      // IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner.
      // This designer provides a display using the Windows Forms view technology.
      array<ViewTechnology>^ IRootDesigner::get()
      {
         ViewTechnology temp0[] = {ViewTechnology::WindowsForms};
         return temp0;
      }

   }

   // 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::WindowsForms )
            throw gcnew ArgumentException( "An unsupported view technology was requested","Unsupported view technology." );

      
      // Creates the view object if it has not yet been initialized.
      if ( view == nullptr )
            view = gcnew 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*/ ){}


public private:

   // This control provides a Windows Forms view technology view object that 
   // provides a display for the SampleRootDesigner.

   [DesignerAttribute(__typeof(ParentControlDesigner),__typeof(IDesigner))]
   ref class RootDesignerView: public Control
   {
   private:

      // This field stores a reference to a designer.
      IDesigner^ m_designer;

   public:
      RootDesignerView( IDesigner^ designer )
      {
         
         // Perform basic control initialization.
         m_designer = designer;
         BackColor = Color::Blue;
         Font = gcnew System::Drawing::Font( Font->FontFamily->Name,24.0f );
      }


   protected:

      // This method is called to draw the view for the SampleRootDesigner.
      void OnPaint( PaintEventArgs^ pe )
      {
         Control::OnPaint( pe );
         
         // Draw the name of the component in large letters.
         pe->Graphics->DrawString( m_designer->Component->Site->Name, Font, Brushes::Yellow, ClientRectangle );
      }

   };


};
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)]
    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);
            }
        }
    }
}
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

설명

ParentControlDesigner 는 자식 컨트롤을 포함할 수 있는 컨트롤 디자이너에 대한 기본 클래스를 제공합니다. 및 ComponentDesigner 클래스 ParentControlDesigner 에서 ControlDesigner 상속된 메서드 및 기능 외에도 자식 컨트롤을 디자인 타임에 확장되는 컨트롤 내에서 추가, 제거, 선택 및 정렬할 수 있습니다.

를 사용하여 DesignerAttribute디자이너를 형식과 연결할 수 있습니다. 디자인 타임 동작 사용자 지정에 대한 개요는 Design-Time 지원 확장을 참조하세요.

생성자

ParentControlDesigner()

ParentControlDesigner 클래스의 새 인스턴스를 초기화합니다.

필드

accessibilityObj

디자이너에 대한 내게 필요한 옵션 지원 개체를 지정합니다.

(다음에서 상속됨 ControlDesigner)

속성

AccessibilityObject

컨트롤에 할당된 AccessibleObject를 가져옵니다.

(다음에서 상속됨 ControlDesigner)
ActionLists

디자이너와 관련된 구성 요소에서 지원하는 디자인 타임 작업 목록을 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
AllowControlLasso

선택한 컨트롤의 부모가 다시 지정되는지 여부를 나타내는 값을 가져옵니다.

AllowGenericDragBox

디자이너 화면 위로 도구 상자 항목을 끌 때 일반 끌기 상자를 그려야 하는지 여부를 나타내는 값을 가져옵니다.

AllowSetChildIndexOnDrop

컨트롤을 ParentControlDesigner에 놓을 때 컨트롤의 Z 순서를 유지해야 하는지 여부를 나타내는 값을 가져옵니다.

AssociatedComponents

디자이너가 관리하는 구성 요소와 관련된 구성 요소 컬렉션을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
AutoResizeHandles

AutoSize 속성의 값을 기반으로 크기 조정 핸들이 할당되는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ControlDesigner)
BehaviorService

디자인 환경에서 BehaviorService를 가져옵니다.

(다음에서 상속됨 ControlDesigner)
Component

이 디자이너에서 디자인하고 있는 구성 요소를 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
Control

디자이너가 디자인하고 있는 컨트롤을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
DefaultControlLocation

이 디자이너에 추가된 컨트롤의 기본 위치를 가져옵니다.

DrawGrid

이 디자이너에 대한 컨트롤에 모눈을 그려야 할지 여부를 나타내는 값을 가져오거나 설정합니다.

EnableDragRect

끌기 사각형을 디자이너에서 그릴지 여부를 나타내는 값을 가져옵니다.

GridSize

디자이너가 모눈 그리기 모드일 때 그려지는 모눈의 각 사각형의 크기를 가져오거나 설정합니다.

InheritanceAttribute

디자이너의 InheritanceAttribute를 가져옵니다.

(다음에서 상속됨 ControlDesigner)
Inherited

이 구성 요소가 상속되었는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
MouseDragTool

끌기 작업 중 디자이너에 유효한 도구가 있는지 여부를 나타내는 값을 가져옵니다.

ParentComponent

ControlDesigner의 부모 구성 요소를 가져옵니다.

(다음에서 상속됨 ControlDesigner)
ParticipatesWithSnapLines

끌기 작업 동안 ControlDesigner에서 맞춤선 정렬을 허용하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
SelectionRules

구성 요소의 이동 기능을 나타내는 선택 규칙을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
ShadowProperties

사용자 설정을 재정의하는 속성 값의 컬렉션을 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
SnapLines

이 컨트롤의 중요 맞춤 지점을 나타내는 SnapLine 개체의 목록을 가져옵니다.

SnapLines

이 컨트롤의 중요 맞춤 지점을 나타내는 SnapLine 개체의 목록을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
Verbs

디자이너와 관련된 구성 요소에서 지원하는 디자인 타임 동사를 가져옵니다.

(다음에서 상속됨 ComponentDesigner)

메서드

AddPaddingSnapLines(ArrayList)

패딩 Snaplines를 추가합니다.

BaseWndProc(Message)

Windows 메시지를 처리합니다.

(다음에서 상속됨 ControlDesigner)
CanAddComponent(IComponent)

구성 요소가 부모 컨테이너에 추가되면 호출됩니다.

CanBeParentedTo(IDesigner)

이 디자이너의 컨트롤이 지정된 디자이너의 컨트롤을 부모로 사용할 수 있는지 여부를 지정합니다.

(다음에서 상속됨 ControlDesigner)
CanParent(Control)

지정한 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

CanParent(ControlDesigner)

지정한 디자이너가 관리하는 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

CreateTool(ToolboxItem)

지정한 도구에서 구성 요소나 컨트롤을 만들어 현재 디자인 문서에 추가합니다.

CreateTool(ToolboxItem, Point)

지정한 도구에서 구성 요소나 컨트롤을 만들어 현재 디자인 문서의 지정한 위치에 추가합니다.

CreateTool(ToolboxItem, Rectangle)

지정한 도구에서 구성 요소나 컨트롤을 만들어 현재 디자인 문서의 지정한 사각형 내에 추가합니다.

CreateToolCore(ToolboxItem, Int32, Int32, Int32, Int32, Boolean, Boolean)

모든 CreateTool(ToolboxItem) 메서드의 핵심 기능을 제공합니다.

DefWndProc(Message)

Windows 메시지에 대한 기본 처리 방법을 제공합니다.

(다음에서 상속됨 ControlDesigner)
DisplayError(Exception)

지정된 예외에 대한 정보를 사용자에게 표시합니다.

(다음에서 상속됨 ControlDesigner)
Dispose()

ComponentDesigner에서 사용하는 모든 리소스를 해제합니다.

(다음에서 상속됨 ComponentDesigner)
Dispose(Boolean)

ParentControlDesigner에서 사용하는 관리되지 않는 리소스를 해제하고, 관리되는 리소스를 선택적으로 해제할 수 있습니다.

DoDefaultAction()

구성 요소의 기본 이벤트에 대한 소스 코드 파일에 메서드 시그니처를 만들고 해당 위치로 사용자의 커서를 이동합니다.

(다음에서 상속됨 ComponentDesigner)
EnableDesignMode(Control, String)

자식 컨트롤의 디자인 타임 기능을 사용하도록 설정합니다.

(다음에서 상속됨 ControlDesigner)
EnableDragDrop(Boolean)

디자인되는 컨트롤에 대한 끌어서 놓기 지원을 활성화 또는 비활성화합니다.

(다음에서 상속됨 ControlDesigner)
Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetControl(Object)

지정된 구성 요소의 디자이너에서 컨트롤을 가져옵니다.

GetControlGlyph(GlyphSelectionType)

컨트롤의 범위를 나타내는 본문 문자 모양을 가져옵니다.

GetControlGlyph(GlyphSelectionType)

이 컨트롤의 범위를 나타내는 ControlBodyGlyph를 반환합니다.

(다음에서 상속됨 ControlDesigner)
GetGlyphs(GlyphSelectionType)

표준 컨트롤의 선택 테두리와 잡기 핸들을 나타내는 Glyph 개체의 컬렉션을 가져옵니다.

GetGlyphs(GlyphSelectionType)

표준 컨트롤의 선택 테두리와 잡기 핸들을 나타내는 Glyph 개체의 컬렉션을 가져옵니다.

(다음에서 상속됨 ControlDesigner)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetHitTest(Point)

지정된 지점의 마우스 클릭이 컨트롤에 의해 처리되는지 여부를 지정합니다.

(다음에서 상속됨 ControlDesigner)
GetParentForComponent(IComponent)

파생 클래스에서 구성 요소를 추가할 때 디자인하고 있는 컨트롤이나 다른 Container를 반환하는지 여부를 확인하는 데 사용됩니다.

GetService(Type)

디자이너 구성 요소의 디자인 모드 사이트에서 지정된 서비스 종류를 검색합니다.

(다음에서 상속됨 ComponentDesigner)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
GetUpdatedRect(Rectangle, Rectangle, Boolean)

지정한 사각형의 위치를 업데이트합니다. 모눈 정렬 모드를 사용하는 경우 모눈 정렬에 맞춰 조정합니다.

HookChildControls(Control)

지정한 컨트롤의 자식 컨트롤에서 메시지를 디자이너로 라우트합니다.

(다음에서 상속됨 ControlDesigner)
Initialize(IComponent)

디자이너를 지정된 구성 요소로 초기화합니다.

InitializeExistingComponent(IDictionary)

기존 구성 요소를 다시 초기화합니다.

(다음에서 상속됨 ControlDesigner)
InitializeNewComponent(IDictionary)

새로 만들어진 구성 요소를 초기화합니다.

InitializeNewComponent(IDictionary)

새로 만들어진 구성 요소를 초기화합니다.

(다음에서 상속됨 ControlDesigner)
InitializeNonDefault()

컨트롤의 속성을 기본값이 아닌 값으로 초기화합니다.

(다음에서 상속됨 ControlDesigner)
InternalControlDesigner(Int32)

ControlDesigner에서 지정된 인덱스에 있는 내부 컨트롤 디자이너를 반환합니다.

(다음에서 상속됨 ControlDesigner)
InvokeCreateTool(ParentControlDesigner, ToolboxItem)

지정한 ToolboxItem에서 도구를 만듭니다.

InvokeGetInheritanceAttribute(ComponentDesigner)

지정된 InheritanceAttributeComponentDesigner를 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
NumberOfInternalControlDesigners()

ControlDesigner에 포함된 내부 컨트롤 디자이너의 수를 반환합니다.

(다음에서 상속됨 ControlDesigner)
OnContextMenu(Int32, Int32)

상황에 맞는 메뉴를 표시하고 이 메뉴가 표시되려고 할 때 추가 작업을 처리할 수 있는 기회를 제공합니다.

(다음에서 상속됨 ControlDesigner)
OnCreateHandle()

컨트롤 핸들을 만든 직후 추가 작업을 처리할 기회를 제공합니다.

(다음에서 상속됨 ControlDesigner)
OnDragComplete(DragEventArgs)

끌어서 놓기 작업을 정리하기 위해 호출됩니다.

OnDragComplete(DragEventArgs)

끌어서 놓기 작업을 정리하기 위해 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnDragDrop(DragEventArgs)

끌어서 놓기 개체를 컨트롤 디자이너 보기에 놓았을 때 호출됩니다.

OnDragEnter(DragEventArgs)

끌어서 놓기 작업이 컨트롤 디자이너 보기로 진입할 때 호출됩니다.

OnDragLeave(EventArgs)

끌어서 놓기 작업이 컨트롤 디자이너 보기를 벗어날 때 호출됩니다.

OnDragOver(DragEventArgs)

끌어서 놓기 개체를 컨트롤 디자이너 보기로 끌어 올 때 호출됩니다.

OnGiveFeedback(GiveFeedbackEventArgs)

끌기 작업을 진행하는 동안 마우스 위치에 따라 시각적 정보를 제공하기 위해 끌어서 놓기 작업이 진행되는 동안 호출됩니다.

OnGiveFeedback(GiveFeedbackEventArgs)

끌기 작업을 진행하는 동안 마우스 위치에 따라 시각적 정보를 제공하기 위해 끌어서 놓기 작업이 진행되는 동안 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnMouseDragBegin(Int32, Int32)

구성 요소를 마우스 왼쪽 단추로 누르고 있을 때의 응답으로 호출됩니다.

OnMouseDragEnd(Boolean)

끌어서 놓기 작업의 마지막에 호출되어 그 작업을 완료하거나 취소합니다.

OnMouseDragMove(Int32, Int32)

끌어서 놓기 작업 도중 마우스를 움직일 때마다 호출됩니다.

OnMouseEnter()

마우스가 컨트롤에 처음으로 진입하면 호출됩니다.

OnMouseEnter()

마우스가 컨트롤에 처음으로 진입하면 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnMouseHover()

마우스로 컨트롤을 가리키면 호출됩니다.

OnMouseHover()

마우스로 컨트롤을 가리키면 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnMouseLeave()

마우스가 컨트롤에 처음으로 진입하면 호출됩니다.

OnMouseLeave()

마우스가 컨트롤에 처음으로 진입하면 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnPaintAdornments(PaintEventArgs)

디자이너가 관리하고 있는 컨트롤이 자신을 색칠할 때 호출되므로 디자이너는 컨트롤 위에 추가로 색칠할 수 있습니다.

OnSetComponentDefaults()
사용되지 않습니다.
사용되지 않습니다.

디자이너가 초기화 될 때 호출됩니다.

(다음에서 상속됨 ControlDesigner)
OnSetCursor()

현재 마우스 커서를 변경할 기회를 제공합니다.

PostFilterAttributes(IDictionary)

디자이너에서 TypeDescriptor를 통해 노출되는 특성 집합의 항목을 변경하거나 제거하도록 합니다.

(다음에서 상속됨 ComponentDesigner)
PostFilterEvents(IDictionary)

디자이너에서 TypeDescriptor를 통해 노출되는 이벤트 집합의 항목을 변경하거나 제거하도록 합니다.

(다음에서 상속됨 ComponentDesigner)
PostFilterProperties(IDictionary)

디자이너에서 TypeDescriptor를 통해 노출되는 속성 집합의 항목을 변경하거나 제거하도록 합니다.

(다음에서 상속됨 ComponentDesigner)
PreFilterAttributes(IDictionary)

디자이너에서 TypeDescriptor를 통해 노출되는 특성 집합에 항목을 추가하도록 합니다.

(다음에서 상속됨 ComponentDesigner)
PreFilterEvents(IDictionary)

디자이너에서 TypeDescriptor를 통해 노출되는 이벤트 집합에 항목을 추가하도록 합니다.

(다음에서 상속됨 ComponentDesigner)
PreFilterProperties(IDictionary)

구성 요소가 TypeDescriptor를 통해 노출하는 속성 집합을 조정합니다.

RaiseComponentChanged(MemberDescriptor, Object, Object)

IComponentChangeService에 이 구성 요소가 변경되었음을 알립니다.

(다음에서 상속됨 ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)

IComponentChangeService에 이 구성 요소가 변경될 예정임을 알립니다.

(다음에서 상속됨 ComponentDesigner)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)
UnhookChildControls(Control)

지정한 컨트롤의 자식에 대한 메시지를 부모 디자이너 대신 각 컨트롤에 라우트합니다.

(다음에서 상속됨 ControlDesigner)
WndProc(Message)

Windows 메시지를 처리합니다.

WndProc(Message)

Windows 메시지를 처리하고 필요에 따라 컨트롤로 라우트합니다.

(다음에서 상속됨 ControlDesigner)

명시적 인터페이스 구현

IDesignerFilter.PostFilterAttributes(IDictionary)

이 멤버에 대한 설명을 보려면 PostFilterAttributes(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
IDesignerFilter.PostFilterEvents(IDictionary)

이 멤버에 대한 설명을 보려면 PostFilterEvents(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
IDesignerFilter.PostFilterProperties(IDictionary)

이 멤버에 대한 설명을 보려면 PostFilterProperties(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary)

이 멤버에 대한 설명을 보려면 PreFilterAttributes(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
IDesignerFilter.PreFilterEvents(IDictionary)

이 멤버에 대한 설명을 보려면 PreFilterEvents(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
IDesignerFilter.PreFilterProperties(IDictionary)

이 멤버에 대한 설명을 보려면 PreFilterProperties(IDictionary) 메서드를 참조하세요.

(다음에서 상속됨 ComponentDesigner)
ITreeDesigner.Children

이 멤버에 대한 설명을 보려면 Children 속성을 참조하세요.

(다음에서 상속됨 ComponentDesigner)
ITreeDesigner.Parent

이 멤버에 대한 설명을 보려면 Parent 속성을 참조하세요.

(다음에서 상속됨 ComponentDesigner)

적용 대상

추가 정보