ControlDesigner 클래스

정의

웹 서버 컨트롤의 디자인 모드 동작을 확장하기 위한 기본 컨트롤 디자이너 클래스를 제공합니다.

public ref class ControlDesigner : System::Web::UI::Design::HtmlControlDesigner
public class ControlDesigner : System.Web.UI.Design.HtmlControlDesigner
type ControlDesigner = class
    inherit HtmlControlDesigner
Public Class ControlDesigner
Inherits HtmlControlDesigner
상속
파생

예제

다음 코드 예제에서는 클래스에서 ControlDesigner 파생 되는 간단한 디자이너 클래스를 만드는 방법을 보여 줍니다. 이 컨트롤 디자이너는 사용자 지정 TextControl 클래스를 지원하며 디자인 타임에 컨트롤의 텍스트 크기를 변경하는 명령을 제공합니다. 컨트롤 디자이너는 클래스의 개체 선언에서 컨트롤 디자이너를 DesignerAttribute 지정하여 컨트롤과 TextControl 연결됩니다. 컨트롤 디자이너에서 HTML 태그로 속성 변경 내용을 유지하는 키는 사용자 지정 ActionList 클래스의 메서드에서 ToggleTextSize 찾을 수 있습니다.

예제를 시도하려면 System.Design.dll 어셈블리에 대한 참조를 추가하고 코드를 컴파일합니다.

using System;
using System.Web.UI;
using System.Drawing;
using System.Web.UI.Design;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.ComponentModel.Design;

namespace ASPNet.Design.Samples.CS
{
    // Simple text Web control renders a text string.
    // This control is associated with the TextSizeWebControlDesigner.
    [DesignerAttribute(typeof(TextSizeWebControlDesigner)),
    ToolboxData("<{0}:TextControl runat=\"server\"></{0}:TextControl>")]
    public class TextControl : Label
    {
        private bool _largeText = true;

        // Constructor
        public TextControl()
        {
            Text = "Test Phrase";
            SetSize();
        }

        // Determines whether the text is large or small
        [Bindable(true), Category("Appearance"), DefaultValue("true")]
        public bool LargeText
        {
            get { return _largeText; }
            set
            {
                _largeText = value;
                SetSize();
            }
        }

        // Applies the LargeText property to the control
        private void SetSize()
        {
            if (LargeText)
                this.Font.Size = FontUnit.XLarge;
            else
                this.Font.Size = FontUnit.Small;
        }
    }

    // This control designer offers DesignerActionList commands
    // that can alter the design time html of the associated control.
    public class TextSizeWebControlDesigner : ControlDesigner
    {
        private DesignerActionListCollection _actionLists = null;

        // Do not allow direct resizing of the control
        public override bool AllowResize
        {
            get { return false; }
        }

        // Return a custom ActionList collection
        public override DesignerActionListCollection ActionLists
        {
            get
            {
                if (_actionLists == null)
                {
                    _actionLists = new DesignerActionListCollection();
                    _actionLists.AddRange(base.ActionLists);

                    // Add a custom DesignerActionList
                    _actionLists.Add(new ActionList(this));
                }
                return _actionLists;
            }
        }

        public class ActionList : DesignerActionList
        {
            private TextSizeWebControlDesigner _parent;
            private DesignerActionItemCollection _items;

            // Constructor
            public ActionList(TextSizeWebControlDesigner parent)
                : base(parent.Component)
            {
                _parent = parent;
            }

            // Create the ActionItem collection and add one command
            public override DesignerActionItemCollection GetSortedActionItems()
            {
                if (_items == null)
                {
                    _items = new DesignerActionItemCollection();
                    _items.Add(new DesignerActionMethodItem(this, "ToggleLargeText", "Toggle Text Size", true));
                }
                return _items;
            }

            // ActionList command to change the text size
            private void ToggleLargeText()
            {
                // Get a reference to the parent designer's associated control
                TextControl ctl = (TextControl)_parent.Component;

                // Get a reference to the control's LargeText property
                PropertyDescriptor propDesc = TypeDescriptor.GetProperties(ctl)["LargeText"];

                // Get the current value of the property
                bool v = (bool)propDesc.GetValue(ctl);

                // Toggle the property value
                propDesc.SetValue(ctl, !v);
            }
        }
    }
}
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports System.ComponentModel.Design

Namespace ASPNet.Design.Samples.VB

    ' Simple text Web control renders a text string.
    ' This control is associated with the TextSizeWebControlDesigner.
    <DesignerAttribute(GetType(TextSizeWebControlDesigner)), _
        ToolboxData("<{0}:TextControl runat='server'></{0}:TextControl>")> _
    Public Class TextControl
        Inherits Label

        Private _largeText As Boolean = True

        ' Constructor
        Public Sub New()
            Text = "Test Phrase"
            SetSize()
        End Sub

        ' Determines whether the text is large or small
        <Bindable(True), Category("Appearance"), DefaultValue(True)> _
        Public Property LargeText() As Boolean
            Get
                Return _largeText
            End Get
            Set(ByVal value As Boolean)
                _largeText = value
                SetSize()
            End Set
        End Property

        ' Applies the LargeText property to the control
        Private Sub SetSize()
            If LargeText Then
                Me.Font.Size = FontUnit.XLarge
            Else
                Me.Font.Size = FontUnit.Small
            End If
        End Sub
    End Class


    ' This control designer offers DesignerActionList commands
    ' that can alter the design time html of the associated control.
    Public Class TextSizeWebControlDesigner
        Inherits ControlDesigner

        Private _actionLists As DesignerActionListCollection

        ' Do not allow direct resizing of the control
        Public Overrides ReadOnly Property AllowResize() As Boolean
            Get
                Return False
            End Get
        End Property

        ' Return a custom ActionList collection
        Public Overrides ReadOnly Property ActionLists() As System.ComponentModel.Design.DesignerActionListCollection
            Get
                If IsNothing(_actionLists) Then
                    _actionLists = New DesignerActionListCollection()
                    _actionLists.AddRange(MyBase.ActionLists)

                    ' Add a custom DesignerActionList
                    _actionLists.Add(New ActionList(Me))
                End If

                Return _actionLists
            End Get
        End Property

        ' Create a custom class of DesignerActionList
        Public Class ActionList
            Inherits DesignerActionList
            Private _parent As TextSizeWebControlDesigner
            Private _items As DesignerActionItemCollection

            ' Constructor
            Public Sub New(ByRef parent As TextSizeWebControlDesigner)
                MyBase.New(parent.Component)
                _parent = parent
            End Sub

            ' Create the ActionItem collection and add one command
            Public Overrides Function GetSortedActionItems() As DesignerActionItemCollection
                If IsNothing(_items) Then
                    _items = New DesignerActionItemCollection()
                    _items.Add(New DesignerActionMethodItem(Me, "ToggleLargeText", "Toggle Text Size", True))
                End If

                Return _items
            End Function

            ' ActionList command to change the text size
            Private Sub ToggleLargeText()
                ' Get a reference to the parent designer's associated control
                Dim ctl As TextControl = CType(_parent.Component, TextControl)

                ' Get a reference to the control's LargeText property
                Dim propDesc As PropertyDescriptor = TypeDescriptor.GetProperties(ctl)("LargeText")

                ' Get the current value of the property
                Dim v As Boolean = CType(propDesc.GetValue(ctl), Boolean)
                ' Toggle the property value
                propDesc.SetValue(ctl, (Not v))
            End Sub
        End Class
    End Class
End Namespace
<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspSample" 
    Namespace="ASPNet.Design.Samples.CS" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <aspSample:TextControl ID="TextControl1" runat="server">
    </aspSample:TextControl>

    
    </div>
    </form>
</body>
</html>
<%@ Page Language="VB" %>
<%@ Register TagPrefix="aspSample" 
    Namespace="ASPNet.Design.Samples.VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <aspSample:TextControl ID="TextControl1" runat="server">
        </aspSample:TextControl>
    
    </div>
    </form>
</body>
</html>

설명

클래스는 ControlDesigner Visual Studio 2005와 같은 디자인 호스트의 웹 서버 컨트롤에 대한 디자인 타임 지원을 제공하기 위해 상속 및 확장할 수 있는 기본 컨트롤 디자이너 클래스를 제공합니다.

디자인 타임 렌더링을 사용하기 위한 개체 모델이 이전 버전에 비해 개선되었으며, 다음과 같은 새로운 기본 클래스가 간소화된 개체 모델에 대한 액세스를 제공합니다.

자동 형식 지정

사용자 지정 웹 서버 컨트롤에 복잡한 스타일 변경을 적용하는 페이지 개발자의 프로세스를 간소화할 수 있는 다양한 자동 및 미리 정의된 형식을 만들 수 있습니다. 예를 들어 TableDesigner 클래스에서 파생되는 컨트롤은 ControlDesigner 선택할 수 있는 많은 자동 형식을 제공합니다. 사용자 지정 컨트롤에서 자동 서식을 구현하고 제공하려면 다음 기능을 사용합니다.

작업 목록(스마트 태그)

작업 목록은 컨트롤을 사용하는 페이지 개발자가 Visual Studio 2005와 같은 디자인 타임 UI(사용자 인터페이스)에서 수행할 수 있는 중요하거나 널리 사용되는 작업의 메뉴입니다. 예를 들어 컨트롤의 디자인 타임 뷰는 사용 가능한 작업의 메뉴를 제공할 수 있습니다. 여기에는 컨트롤의 서식을 자동으로 지정하는 작업이 포함됩니다. 작업 목록에 대해 알아보려면 다음 기능으로 시작합니다.

Designer 영역 제어

지역은 웹 서버 컨트롤의 디자인 타임 보기에서 편집 가능한 영역입니다. 이 기능은 디자인 타임에 템플릿 콘텐츠, 내부 컨트롤 및 속성에 대한 WYSIWYG와 유사한 편집 기능을 제공합니다. 컨트롤 디자이너가 지역에 컨트롤을 만들도록 하거나 도구 상자를 사용하여 컨트롤을 영역으로 끌어서 놓을 수 있습니다. 지역은 다음 기능으로 관리됩니다.

템플릿

컨트롤과 같은 템플릿 기반 컨트롤의 디자인 타임 편집을 위한 UI를 GridView 만드는 모델이 이전 버전에서 크게 향상되었습니다. 컨트롤의 다양한 부분에 대한 템플릿을 포함하는 복잡한 사용자 지정 컨트롤을 만들 수 있으며, 사용자 지정 컨트롤 디자이너는 다음 기능을 사용하여 템플릿을 수정하는 페이지 개발자를 도울 수 있습니다.

Design-Time 렌더링

ControlDesigner 클래스에는 웹 서버 컨트롤의 디자인 타임 렌더링을 지원하는 다음 메서드가 있습니다. 이러한 메서드의 대부분은 이전 버전과 동일합니다.

생성자

ControlDesigner()

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

속성

ActionLists

컨트롤 디자이너에 대한 작업 목록 컬렉션을 가져옵니다.

ActionLists

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

(다음에서 상속됨 ComponentDesigner)
AllowResize

디자인 타임 환경에서 컨트롤의 크기를 조정할 수 있는지 여부를 나타내는 값을 가져옵니다.

AssociatedComponents

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

(다음에서 상속됨 ComponentDesigner)
AutoFormats

디자인 타임에 연결된 컨트롤에 대한 자동 서식 대화 상자에 표시할 미리 정의된 자동 서식 지정 구성표의 컬렉션을 가져옵니다.

Behavior
사용되지 않음.

디자이너와 연결된 DHTML 동작을 가져오거나 설정합니다.

(다음에서 상속됨 HtmlControlDesigner)
Component

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

(다음에서 상속됨 ComponentDesigner)
DataBindings

현재 컨트롤에 대한 데이터 바인딩 컬렉션을 가져옵니다.

(다음에서 상속됨 HtmlControlDesigner)
DataBindingsEnabled

연결된 컨트롤의 포함하는 영역에서 데이터 바인딩을 지원하는지 여부를 나타내는 값을 가져옵니다.

DesignerState

디자인 타임에 연결된 컨트롤에 대한 데이터를 유지하는 데 사용되는 개체를 가져옵니다.

DesignTimeElement
사용되지 않음.

디자인 화면에서 HtmlControlDesigner 개체와 연결된 컨트롤을 나타내는 디자인 타임 개체를 가져옵니다.

(다음에서 상속됨 HtmlControlDesigner)
DesignTimeElementView
사용되지 않음.

컨트롤 디자이너의 뷰-컨트롤 개체를 가져옵니다.

DesignTimeHtmlRequiresLoadComplete
사용되지 않음.

디자인 호스트가 로드를 완료해야 GetDesignTimeHtml 메서드를 호출할 수 있는지 여부를 나타내는 값을 가져옵니다.

Expressions

디자인 타임에 현재 컨트롤에 대한 식 바인딩을 가져옵니다.

(다음에서 상속됨 HtmlControlDesigner)
HidePropertiesInTemplateMode

컨트롤이 템플릿 모드에 있을 때 연결된 컨트롤의 속성이 숨겨지는지 여부를 나타내는 값을 가져옵니다.

ID

컨트롤의 ID 문자열을 가져오거나 설정합니다.

InheritanceAttribute

관련된 구성 요소의 상속 형식을 나타내는 특성을 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
Inherited

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

(다음에서 상속됨 ComponentDesigner)
InTemplateMode

컨트롤이 디자인 호스트에서 템플릿 보기 또는 편집 모드에 있는지 여부를 나타내는 값을 가져옵니다. InTemplateMode 속성은 읽기 전용입니다.

IsDirty
사용되지 않음.

웹 서버 컨트롤이 변경된 것으로 표시되었는지 여부를 나타내는 값을 가져오거나 설정합니다.

ParentComponent

이 디자이너의 부모 구성 요소를 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
ReadOnly
사용되지 않음.

컨트롤의 속성이 디자인 타임에 읽기 전용인지 여부를 나타내는 값을 가져오거나 설정합니다.

RootDesigner

연결된 컨트롤을 포함하는 Web Forms 페이지의 컨트롤 디자이너를 가져옵니다.

SetTextualDefaultProperty

웹 서버 컨트롤의 디자인 모드 동작을 확장하기 위한 기본 컨트롤 디자이너 클래스를 제공합니다.

(다음에서 상속됨 ComponentDesigner)
ShadowProperties

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

(다음에서 상속됨 ComponentDesigner)
ShouldCodeSerialize
사용되지 않음.

serialize하는 동안 현재 디자인 문서의 코드 숨김 파일에 컨트롤에 대한 필드 선언을 만들지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 HtmlControlDesigner)
Tag

연결된 컨트롤의 HTML 태그 요소를 나타내는 개체를 가져옵니다.

TemplateGroups

하나 이상의 템플릿 정의가 포함된 템플릿 그룹의 컬렉션을 가져옵니다.

UsePreviewControl

컨트롤 디자이너에서 임시 미리 보기 컨트롤을 사용하여 디자인 타임 HTML 태그를 생성할지 여부를 나타내는 값을 가져옵니다.

Verbs

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

(다음에서 상속됨 ComponentDesigner)
ViewControl

디자인 타임 HTML 태그를 미리 보는 데 사용할 수 있는 웹 서버 컨트롤을 가져오거나 설정합니다.

ViewControlCreated

디자인 화면에 표시할 View 컨트롤이 만들어졌는지 여부를 나타내는 값을 가져오거나 설정합니다.

Visible

디자인 타임에 컨트롤이 표시되는지 여부를 나타내는 값을 가져옵니다.

메서드

CreateErrorDesignTimeHtml(String)

디자인 타임에 지정된 오류 메시지를 표시할 HTML 태그를 만듭니다.

CreateErrorDesignTimeHtml(String, Exception)

디자인 타임에 지정된 예외 오류 메시지를 표시할 HTML 태그를 만듭니다.

CreatePlaceHolderDesignTimeHtml()

컨트롤의 형식과 ID를 표시하는 간단한 사각형 자리 표시자를 제공합니다.

CreatePlaceHolderDesignTimeHtml(String)

컨트롤의 형식과 ID를 표시하는 간단한 사각형 자리 표시자를 제공하고 추가로 지정된 명령이나 정보도 제공합니다.

CreateViewControl()

디자인 화면에서 보거나 렌더링하는 데 사용할 연결된 컨트롤의 복사본을 반환합니다.

Dispose()

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

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

HtmlControlDesigner 개체에서 사용하는 관리되지 않는 리소스를 해제하고 관리되는 리소스를 선택적으로 해제합니다.

(다음에서 상속됨 HtmlControlDesigner)
DoDefaultAction()

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

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

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

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

디자인 화면에 표시되는 컨트롤의 경계를 나타내는 사각형의 좌표를 검색합니다.

GetDesignTimeHtml()

디자인 타임에 컨트롤을 나타내는 데 사용되는 HTML 태그를 검색합니다.

GetDesignTimeHtml(DesignerRegionCollection)

컨트롤을 표시하는 HTML 태그를 가져와서 현재 컨트롤 디자이너 영역을 사용하여 컬렉션을 채웁니다.

GetDesignTimeResourceProviderFactory(IServiceProvider)

사이트의 구성 파일에 있는 전역화 설정에 따라 적절한 리소스 공급자 팩터리를 반환합니다.

GetEditableDesignerRegionContent(EditableDesignerRegion)

연결된 컨트롤의 디자인 타임 뷰에서 편집 가능한 영역의 내용을 반환합니다.

GetEmptyDesignTimeHtml()

런타임 시 시각적으로 표시되지 않는 웹 서버 컨트롤을 디자인 타임에 나타내는 HTML 태그를 가져옵니다.

GetErrorDesignTimeHtml(Exception)

지정된 예외에 대한 정보를 제공하는 HTML 태그를 검색합니다.

GetHashCode()

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

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

디자인 타임에 컨트롤의 지속적인 내부 HTML 태그를 검색합니다.

GetPersistInnerHtml()
사용되지 않음.

컨트롤의 지속적인 내부 HTML 태그를 검색합니다.

GetService(Type)

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

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

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

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

연결된 컨트롤의 내용과 영역에 대한 디자인 타임 태그를 포함하는 개체를 검색합니다.

GetViewRendering(Control)

지정된 컨트롤의 내용과 영역에 대한 디자인 타임 태그를 포함하는 개체를 검색합니다.

GetViewRendering(ControlDesigner)

지정된 컨트롤 디자이너에 대한 연결된 컨트롤의 내용과 영역에 대한 디자인 타임 태그를 포함하는 개체를 검색합니다.

Initialize(IComponent)

컨트롤 디자이너를 초기화하고 지정된 구성 요소를 로드합니다.

InitializeExistingComponent(IDictionary)

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

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

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

(다음에서 상속됨 ComponentDesigner)
InitializeNonDefault()
사용되지 않음.
사용되지 않음.

기본값이 아닌 설정으로 이미 초기화되어 가져온 구성 요소의 설정을 초기화합니다.

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

디자인 화면에 표시된 컨트롤의 전체 영역을 무효화하고 컨트롤 디자이너에 컨트롤을 다시 그리도록 신호를 보냅니다.

Invalidate(Rectangle)

디자인 화면에 표시된 컨트롤의 지정된 영역을 무효화하고 컨트롤 디자이너에 컨트롤을 다시 그리도록 신호를 보냅니다.

InvokeGetInheritanceAttribute(ComponentDesigner)

지정된 InheritanceAttributeComponentDesigner를 가져옵니다.

(다음에서 상속됨 ComponentDesigner)
InvokeTransactedChange(IComponent, TransactedChangeCallback, Object, String)

지정된 매개 변수를 사용하여, 디자인 호스트의 실행 취소 기능을 통해 한 단위로 롤백될 수 있는 트랜잭션에 일련의 변경 사항을 래핑합니다.

InvokeTransactedChange(IComponent, TransactedChangeCallback, Object, String, MemberDescriptor)

지정된 매개 변수를 사용하여, 디자인 호스트의 실행 취소 기능을 통해 한 단위로 롤백될 수 있는 트랜잭션에 일련의 변경 사항을 래핑합니다.

InvokeTransactedChange(IServiceProvider, IComponent, TransactedChangeCallback, Object, String, MemberDescriptor)

지정된 매개 변수를 사용하여, 디자인 호스트의 실행 취소 기능을 통해 한 단위로 롤백될 수 있는 트랜잭션에 일련의 변경 사항을 래핑합니다.

IsPropertyBound(String)
사용되지 않음.

연결된 컨트롤의 지정된 속성이 데이터 바인딩되는지 여부를 나타내는 값을 검색합니다.

Localize(IDesignTimeResourceWriter)

제공된 리소스 작성기를 사용하여 연결된 컨트롤의 지역화할 수 있는 속성을 디자인 호스트의 리소스에 유지합니다.

MemberwiseClone()

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

(다음에서 상속됨 Object)
OnAutoFormatApplied(DesignerAutoFormat)

미리 정의된 자동 서식 구성표가 연결된 컨트롤에 적용된 경우 호출됩니다.

OnBehaviorAttached()

컨트롤 디자이너가 동작 개체에 연결될 때 호출됩니다.

OnBehaviorAttached()
사용되지 않음.

동작이 요소와 연결될 때 호출됩니다.

(다음에서 상속됨 HtmlControlDesigner)
OnBehaviorDetaching()
사용되지 않음.

동작이 요소에서 분리될 때 호출됩니다.

(다음에서 상속됨 HtmlControlDesigner)
OnBindingsCollectionChanged(String)
사용되지 않음.

데이터 바인딩 컬렉션이 변경될 때 호출됩니다.

OnClick(DesignerRegionMouseEventArgs)

사용자가 디자인 타임에 연결된 컨트롤을 클릭하면 디자인 호스트에서 호출됩니다.

OnComponentChanged(Object, ComponentChangedEventArgs)

연결된 컨트롤이 변경될 때 호출됩니다.

OnComponentChanging(Object, ComponentChangingEventArgs)

연결된 컨트롤의 ComponentChanging 이벤트를 처리할 메서드를 나타냅니다.

OnControlResize()
사용되지 않음.

디자인 타임에 디자인 호스트에서 연결된 웹 서버 컨트롤의 크기가 조정되었을 때 호출됩니다.

OnPaint(PaintEventArgs)

CustomPaint 값이 true인 경우 컨트롤 디자이너가 디자인 화면에서 연결된 컨트롤을 그릴 때 호출됩니다.

OnSetComponentDefaults()
사용되지 않음.
사용되지 않음.

구성 요소의 기본 속성을 설정합니다.

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

해당 컨트롤이 부모 컨트롤에 연결될 때 추가적인 처리를 수행할 수 있도록 합니다.

(다음에서 상속됨 HtmlControlDesigner)
PostFilterAttributes(IDictionary)

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

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

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

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

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

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

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

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

디자인 타임에 구성 요소의 TypeDescriptor 개체에 대해 노출되는 이벤트의 목록을 설정합니다.

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

디자인 타임에 디자인 호스트의 속성 표에서 속성을 추가 또는 제거하거나, 연결된 컨트롤의 속성에 해당할 수 있는 새 디자인 타임 속성을 제공합니다.

RaiseComponentChanged(MemberDescriptor, Object, Object)

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

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

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

(다음에서 상속됨 ComponentDesigner)
RaiseResizeEvent()
사용되지 않음.

OnControlResize() 이벤트를 발생시킵니다.

RegisterClone(Object, Object)

복제된 컨트롤의 내부 데이터를 등록합니다.

SetEditableDesignerRegionContent(EditableDesignerRegion, String)

디자인 타임에 컨트롤의 편집 가능한 영역에 대한 내용을 지정합니다.

SetRegionContent(EditableDesignerRegion, String)

컨트롤의 디자인 타임 뷰에서 편집 가능한 영역의 내용을 지정합니다.

SetViewFlags(ViewFlags, Boolean)

지정된 비트 ViewFlags 열거형을 주어진 플래그 값에 할당합니다.

ToString()

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

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

GetDesignTimeHtml 메서드를 호출하여 연결된 웹 서버 컨트롤에 대한 디자인 타임 HTML 태그를 새로 고칩니다.

명시적 인터페이스 구현

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)

적용 대상

추가 정보