Share via


LoginViewDesigner 클래스

정의

비주얼 디자이너에서 디자인 타임에 LoginView 웹 서버 컨트롤을 지원합니다.

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

예제

다음 코드 예제를 확장 하는 방법을 보여 줍니다 합니다 LoginViewDesigner 클래스에서 파생 되는 컨트롤의 동작과 모양을 변경 하는 LoginView 디자인 타임에 컨트롤입니다.

이 예제에서는 파생 되는 MyLoginView 에서 제어를 LoginView입니다. 합니다 MyLoginView 복사본이 LoginView 제어 합니다. 예제 에서도 파생 됩니다는 MyLoginViewDesigner 에서 클래스를 LoginViewDesigner 적용 하는 클래스를 DesignerAttribute 특성에 대 한를 MyLoginViewDesignerMyLoginView 컨트롤입니다.

합니다 MyLoginViewDesigner 컨트롤에는 다음 재정의 LoginViewDesigner 멤버:

  • PreFilterProperties 메서드를 합니다 NamingContainer 속성에 표시 합니다 속성 디자인 타임에 눈금.

  • GetDesignTimeHtml 해당 범위 보다 편리 하 게 컨트롤 주위에 주황색 테두리를 그리는 방법입니다.

  • GetErrorDesignTimeHtml 빨간색으로 렌더링 되는 오류 메시지를 포함 하는 자리 표시자에 대 한 태그를 생성 하는 메서드 굵은 텍스트입니다.

  • GetEmptyDesignTimeHtml 컨트롤에 대해 정의 된 역할 그룹의 이름을 포함 하는 자리 표시자에 대 한 태그를 생성 하는 방법입니다.

  • 합니다 Initialize throw 하는 방법을 ArgumentException 연결된 된 컨트롤이 없는 경우 예외를 MyLoginView 개체입니다.

using System;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.Design;
using System.Web.UI.Design.WebControls;
using System.Collections;
using System.ComponentModel;
using System.Security.Permissions;

namespace Examples.CS.WebControls.Design
{
    // The MyLoginView is a copy of the LoginView.
    [AspNetHostingPermission(SecurityAction.Demand, 
        Level = AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(SecurityAction.InheritanceDemand, 
        Level = AspNetHostingPermissionLevel.Minimal)]
    [Designer(typeof(Examples.CS.WebControls.Design.MyLoginViewDesigner))]
    public class MyLoginView : LoginView
    {
    } // MyLoginView

    // Override members of the LoginViewDesigner.
    [ReflectionPermission(SecurityAction.Demand, Flags=ReflectionPermissionFlag.MemberAccess)]
    public class MyLoginViewDesigner : LoginViewDesigner
    {
        // Generate the design-time markup for the control when an error occurs.
        protected override string GetErrorDesignTimeHtml(Exception ex) 
        {
            // Write the error message text in red, bold.
            string errorRendering =
                "<span style=\"font-weight:bold; color:Red; \">" +
                ex.Message + "</span>";

            return CreatePlaceHolderDesignTimeHtml(errorRendering);
        } // GetErrorDesignTimeHtml

        // Generate the design-time markup for the control 
        // when the template is empty.
        protected override string GetEmptyDesignTimeHtml()
        {
            // Generate a design-time placeholder containing the names of all
            // the role groups.
            MyLoginView myLoginViewCtl = (MyLoginView)ViewControl;
            RoleGroupCollection roleGroups = myLoginViewCtl.RoleGroups;
            string roleNames = null;

            // If there are any role groups, form a string of their names.
            if (roleGroups.Count > 0)
            {
                roleNames = "Role Groups: <br />   " + 
                    roleGroups[0].ToString();

                for( int rgX = 1; rgX < roleGroups.Count; rgX++ )
                    roleNames += 
                        "<br />   " + roleGroups[rgX].ToString();
            }
            return CreatePlaceHolderDesignTimeHtml( roleNames);
        } // GetEmptyDesignTimeHtml

        // Shadow control properties with design-time properties.
        protected override void PreFilterProperties(IDictionary properties)
        {
            // Call the base method first.
            base.PreFilterProperties(properties);

            // Make the NamingContainer visible in the Properties grid.
            PropertyDescriptor selectProp = 
                (PropertyDescriptor)properties["NamingContainer"];
            properties["NamingContainer"] =
                TypeDescriptor.CreateProperty(selectProp.ComponentType, 
                    selectProp, BrowsableAttribute.Yes);
        } // PreFilterProperties

        // Generate the design-time markup.
        public override string GetDesignTimeHtml(DesignerRegionCollection regions)
        {
            // Make the control more visible in the designer.   
            // Enclose the markup in a table with an orange border. 
            const string openTableMarkup =
                "<table><tr><td style=\"border:4 solid #FF7F00;\">";
            const string closeTableMarkup = "</td></tr></table>";

            // Call the base method to generate the markup.
            string markup = base.GetDesignTimeHtml(regions);

            return openTableMarkup + markup + closeTableMarkup;
        } // GetDesignTimeHtml

        public override void Initialize(IComponent component)
        {
            // Ensure that only a MyLoginView can be created in this designer.
            if (!(component is MyLoginView))
                throw new ArgumentException();

            // Call the base method to generate the markup.
            base.Initialize(component);
        } // Initialize
    } // MyLoginViewDesigner
} // Examples.CS.WebControls.Design
Imports System.Web
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design
Imports System.Web.UI.Design.WebControls
Imports System.Collections
Imports System.ComponentModel
Imports System.Security.Permissions
Imports System.IO

Namespace Examples.VB.WebControls.Design

    ' The MyLoginView is a copy of the LoginView.
    <AspNetHostingPermission(SecurityAction.Demand, _
        Level:=AspNetHostingPermissionLevel.Minimal)> _
    <AspNetHostingPermission(SecurityAction.InheritanceDemand, _
        Level:=AspNetHostingPermissionLevel.Minimal)> _
    <Designer(GetType(Examples.VB.WebControls.Design.MyLoginViewDesigner))> _
    Public Class MyLoginView
        Inherits LoginView
    End Class

    ' Override members of the LoginViewDesigner.
    <ReflectionPermission(SecurityAction.Demand, Flags:=ReflectionPermissionFlag.MemberAccess)> _
    Public Class MyLoginViewDesigner
        Inherits LoginViewDesigner

        ' Generate the design-time markup for the control when an error occurs.
        Protected Overrides Function GetErrorDesignTimeHtml( _
            ByVal ex As Exception) As String

            ' Write the error message text in red, bold.
            Dim errorRendering As String = _
                "<span style=""font-weight:bold; color:Red; "">" & _
                ex.Message & "</span>"

            Return CreatePlaceHolderDesignTimeHtml(errorRendering)

        End Function ' GetErrorDesignTimeHtml

        ' Generate the design-time markup for the control 
        ' when the template is empty.
        Protected Overrides Function GetEmptyDesignTimeHtml() As String

            ' Generate a design-time placeholder containing the names of all
            ' the role groups.
            Dim myLoginViewCtl As MyLoginView = CType(ViewControl, MyLoginView)
            Dim roleGroups As RoleGroupCollection = myLoginViewCtl.RoleGroups
            Dim RoleNames As String = Nothing
            Dim rgX As Integer

            ' If there are any role groups, form a string of their names.
            If roleGroups.Count > 0 Then

                roleNames = "Role Groups: <br />   " & _
                    roleGroups(0).ToString()

                For rgX = 1 To roleGroups.Count - 1
                    roleNames &= "<br />   " & _
                        roleGroups(rgX).ToString()
                Next rgX
            End If

            Return CreatePlaceHolderDesignTimeHtml(roleNames)

        End Function ' GetEmptyDesignTimeHtml

        ' Shadow control properties with design-time properties.
        Protected Overrides Sub PreFilterProperties( _
            ByVal properties As IDictionary)

            ' Call the base method first.
            MyBase.PreFilterProperties(properties)

            ' Make the NamingContainer visible in the Properties grid.
            Dim selectProp As PropertyDescriptor = _
                CType(properties("NamingContainer"), PropertyDescriptor)
            properties("NamingContainer") = _
                TypeDescriptor.CreateProperty(selectProp.ComponentType, _
                    selectProp, BrowsableAttribute.Yes)

        End Sub

        ' Generate the design-time markup.
        Public Overrides Function GetDesignTimeHtml( _
            ByVal regions As DesignerRegionCollection) As String

            ' Make the control more visible in the designer.  
            ' Enclose the markup in a table with an orange border. 
            Dim openTableMarkup As String = _
                "<table><tr><td style=""border:4 solid #FF7F00;"">"
            Dim closeTableMarkup As String = "</td></tr></table>"

            ' Call the base method to generate the markup.
            Dim markup As String = MyBase.GetDesignTimeHtml(regions)

            Return openTableMarkup & markup & closeTableMarkup

        End Function ' GetDesignTimeHtml

        ' Generate the design time markup.
        Public Overrides Sub Initialize(ByVal component As IComponent)

            ' Ensure that only a MyLoginView can be created in this designer. 
            If Not TypeOf component Is MyLoginView Then
                Throw New ArgumentException()
            End If

            ' Call the base method to generate the markup.
            MyBase.Initialize(component)

        End Sub
    End Class
End Namespace ' Examples.VB.WebControls.Design

설명

LoginView 컨트롤은 호스트 웹 사이트 및 로그온 한 사용자 계정을 포함 하는 역할에 사용자 로그온 여부에 따라 결정 하는 템플릿 중 하나를 렌더링 합니다.

비주얼 디자이너에서 소스 뷰에서 디자인 뷰로 전환 하면 태그 소스 코드를 설명 하는 LoginView 컨트롤을 구문 분석 되 고 디자인 화면에서 컨트롤의 디자인 타임 버전을 만들어집니다. 소스 뷰로 다시 전환 하면 디자인 타임 컨트롤 태그 소스 코드에 유지 되 고 웹 페이지에 대 한 태그를 편집 합니다. 합니다 LoginViewDesigner 클래스에 대 한 디자인 타임 지원을 제공 합니다 LoginView 제어 합니다.

ActionLists 속성에서 반환을 DesignerActionListCollection 일반적으로에서 파생 된 개체를 포함 하는 개체는 DesignerActionList 디자이너의 상속 트리의 각 수준에 대 한 클래스입니다. 합니다 TemplateGroups 연결 된 템플릿에 대 한 템플릿 그룹의 컬렉션을 반환 하는 속성 LoginView 제어 합니다. 합니다 UsePreviewControl 속성은 항상 반환 true, 디자이너에 연결 된 임시 복사본을 만들어는 LoginView 컨트롤 디자인 타임 태그를 생성 합니다.

LoginViewDesigner 클래스 메서드는 다음 기능을 제공 합니다.

  • 합니다 GetDesignTimeHtml 메서드는 연결 된 렌더링 하는 데 사용 되는 태그를 반환 LoginView 디자인 타임에 컨트롤입니다. GetEmptyDesignTimeHtml 메서드는 현재 템플릿에 정의 되지 않은 경우 디자인 타임에 연결된 된 컨트롤에 대 한 자리 표시자를 렌더링 하는 태그를 가져옵니다. GetErrorDesignTimeHtml 메서드는 오류가 발생 했을 때 디자인 타임에 연결된 된 컨트롤을 렌더링 하는 태그를 제공 합니다.

  • 합니다 GetEditableDesignerRegionContent 현재 템플릿에 연결 된 serialize 된 복사본을 반환 하는 메서드 LoginView 제어 합니다. SetEditableDesignerRegionContent 메서드 컨트롤 템플릿의 serialize 된 복사본에서 연결된 된 컨트롤의 영역을 설정 합니다.

  • Initialize 메서드를 보고 편집 하 고 연결 된 디자인 디자이너 준비 LoginView 제어 합니다. OnComponentChanged 메서드 연결된 된 컨트롤에 변경 될 때 호출 됩니다. PreFilterProperties 메서드는 속성을 제거, 추가 속성을 추가 또는 연결된 된 컨트롤의 속성을 숨기 하는 데 사용 됩니다.

생성자

LoginViewDesigner()

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

속성

ActionLists

이 디자이너의 디자이너 작업 목록 컬렉션을 가져옵니다.

AllowResize

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

(다음에서 상속됨 ControlDesigner)
AssociatedComponents

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

(다음에서 상속됨 ComponentDesigner)
AutoFormats

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

(다음에서 상속됨 ControlDesigner)
Behavior
사용되지 않음.

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

(다음에서 상속됨 HtmlControlDesigner)
Component

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

(다음에서 상속됨 ComponentDesigner)
DataBindings

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

(다음에서 상속됨 HtmlControlDesigner)
DataBindingsEnabled

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

(다음에서 상속됨 ControlDesigner)
DesignerState

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

(다음에서 상속됨 ControlDesigner)
DesignTimeElement
사용되지 않음.

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

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

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

(다음에서 상속됨 ControlDesigner)
DesignTimeHtmlRequiresLoadComplete
사용되지 않음.

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

(다음에서 상속됨 ControlDesigner)
Expressions

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

(다음에서 상속됨 HtmlControlDesigner)
HidePropertiesInTemplateMode

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

(다음에서 상속됨 ControlDesigner)
ID

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

(다음에서 상속됨 ControlDesigner)
InheritanceAttribute

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

(다음에서 상속됨 ComponentDesigner)
Inherited

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

(다음에서 상속됨 ComponentDesigner)
InTemplateMode

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

(다음에서 상속됨 ControlDesigner)
IsDirty
사용되지 않음.

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

(다음에서 상속됨 ControlDesigner)
ParentComponent

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

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

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

(다음에서 상속됨 ControlDesigner)
RootDesigner

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

(다음에서 상속됨 ControlDesigner)
SetTextualDefaultProperty

비주얼 디자이너에서 디자인 타임에 LoginView 웹 서버 컨트롤을 지원합니다.

(다음에서 상속됨 ComponentDesigner)
ShadowProperties

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

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

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

(다음에서 상속됨 HtmlControlDesigner)
Tag

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

(다음에서 상속됨 ControlDesigner)
TemplateGroups

연결된 컨트롤의 필드에 대한 템플릿 그룹의 컬렉션을 가져옵니다.

UsePreviewControl

디자이너에서 디자이너와 연결된 실제 컨트롤이 아닌 임시 복사본을 사용하여 디자인 타임 태그를 생성할지 여부를 나타내는 값을 가져옵니다.

Verbs

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

(다음에서 상속됨 ComponentDesigner)
ViewControl

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

(다음에서 상속됨 ControlDesigner)
ViewControlCreated

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

(다음에서 상속됨 ControlDesigner)
Visible

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

(다음에서 상속됨 ControlDesigner)

메서드

CreateErrorDesignTimeHtml(String)

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

(다음에서 상속됨 ControlDesigner)
CreateErrorDesignTimeHtml(String, Exception)

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

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

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

(다음에서 상속됨 ControlDesigner)
CreatePlaceHolderDesignTimeHtml(String)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

디자인 타임에, 연결된 컨트롤을 렌더링하는 데 사용되는 태그를 가져옵니다.

GetDesignTimeHtml(DesignerRegionCollection)

디자인 타임에, 연결된 컨트롤을 렌더링하는 데 사용되는 태그를 가져와서 디자이너 영역의 컬렉션을 채웁니다.

GetEditableDesignerRegionContent(EditableDesignerRegion)

디자인 타임에 연결된 컨트롤을 렌더링하는 데 사용되는 serialize된 현재 템플릿의 복사본을 반환합니다.

GetEmptyDesignTimeHtml()

현재 템플릿이 정의되지 않았을 때 디자인 타임에 연결 컨트롤의 자리 표시자를 렌더링하는 태그를 가져옵니다.

GetErrorDesignTimeHtml(Exception)

오류가 발생했을 때 디자인 타임에 연결된 컨트롤을 렌더링하는 태그를 제공합니다.

GetHashCode()

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

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

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

(다음에서 상속됨 ControlDesigner)
GetPersistInnerHtml()
사용되지 않음.

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

(다음에서 상속됨 ControlDesigner)
GetService(Type)

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

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

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

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

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

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

연결된 컨트롤을 표시, 편집 및 디자인할 디자이너를 준비합니다.

InitializeExistingComponent(IDictionary)

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

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

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

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

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

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

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

(다음에서 상속됨 ControlDesigner)
Invalidate(Rectangle)

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

(다음에서 상속됨 ControlDesigner)
InvokeGetInheritanceAttribute(ComponentDesigner)

지정된 InheritanceAttributeComponentDesigner를 가져옵니다.

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

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

(다음에서 상속됨 ControlDesigner)
Localize(IDesignTimeResourceWriter)

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

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

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

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

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

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

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

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

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

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

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

(다음에서 상속됨 ControlDesigner)
OnClick(DesignerRegionMouseEventArgs)

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

(다음에서 상속됨 ControlDesigner)
OnComponentChanged(Object, ComponentChangedEventArgs)

이 디자이너와 연결된 컨트롤에 변경 사항이 있을 때 호출됩니다.

OnComponentChanging(Object, ComponentChangingEventArgs)

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

(다음에서 상속됨 ControlDesigner)
OnControlResize()
사용되지 않음.

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

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

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

(다음에서 상속됨 ControlDesigner)
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() 이벤트를 발생시킵니다.

(다음에서 상속됨 ControlDesigner)
RegisterClone(Object, Object)

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

(다음에서 상속됨 ControlDesigner)
SetEditableDesignerRegionContent(EditableDesignerRegion, String)

serialize된 컨트롤 템플릿 복사본의 연결된 컨트롤의 영역을 설정합니다.

SetRegionContent(EditableDesignerRegion, String)

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

(다음에서 상속됨 ControlDesigner)
SetViewFlags(ViewFlags, Boolean)

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

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

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

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

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

(다음에서 상속됨 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)

적용 대상

추가 정보