DetailsViewDesigner 클래스

정의

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

public ref class DetailsViewDesigner : System::Web::UI::Design::WebControls::DataBoundControlDesigner
public class DetailsViewDesigner : System.Web.UI.Design.WebControls.DataBoundControlDesigner
type DetailsViewDesigner = class
    inherit DataBoundControlDesigner
Public Class DetailsViewDesigner
Inherits DataBoundControlDesigner
상속

예제

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

이 예제에서는 파생 되는 MyDetailsView 에서 제어를 DetailsView입니다. 합니다 MyDetailsView 는 단순히 복사는 DetailsView 제어 합니다. 예제 에서도 파생 됩니다는 MyDetailsViewDesigner 에서 클래스 DetailsViewDesigner 배치를 DesignerAttribute 개체에 대 한 MyDetailsViewDesignerMyDetailsView 컨트롤입니다.

The MyDetailsViewDesigner 재정의 SampleRowCount 지정 하는 속성의 디자인 타임 뷰의 페이저 행을는 MyDetailsView 5 페이지 링크를 포함 합니다. 재정의 PreFilterProperties 메서드를 합니다 NamingContainer 속성에 표시 합니다 속성 디자인 타임에 눈금. 재정의 GetDesignTimeHtml 포함 하는 방법의 Caption 속성을 새 첫 번째 행으로 지정 된 경우는 MyDetailsView 디자인 타임에 눈금. 경우는 BorderStyle 의 속성을 MyDetailsViewNotSet 또는 None 값을는 GetDesignTimeHtml 해당 범위 보다 편리 하 게 컨트롤 주변의 파란색 파선된 테두리를 그립니다.

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

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

    // Override members of the DetailsViewDesigner.
    [ReflectionPermission(SecurityAction.Demand, Flags=ReflectionPermissionFlag.MemberAccess)]
    public class MyDetailsViewDesigner : DetailsViewDesigner
    {
        // Determines the number of page links in the pager row
        // when viewed in the designer.
        protected override int SampleRowCount
        {
            get
            {
                // Render five page links in the pager row.
                return 5;
            }
        } // SampleRowCount

        // Shadow the 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.
        const string capTag = "caption";
        const string trOpen = "tr><td colspan=2 align=center";
        const string trClose = "td></tr";

        public override string GetDesignTimeHtml()
        {
            // Make the full extent of the control more visible in the designer.
            // If the border style is None or NotSet, change the border to
            // a wide, blue, dashed line. Include the caption within the border.
            MyDetailsView myDV = (MyDetailsView)Component;
            string markup = null;
            int charX;

            // Check if the border style should be changed.
            if (myDV.BorderStyle == BorderStyle.NotSet ||
                myDV.BorderStyle == BorderStyle.None)
            {
                BorderStyle oldBorderStyle = myDV.BorderStyle;
                Unit oldBorderWidth = myDV.BorderWidth;
                Color oldBorderColor = myDV.BorderColor;

                // Set design-time properties and catch any exceptions.
                try
                {
                    myDV.BorderStyle = BorderStyle.Dashed;
                    myDV.BorderWidth = Unit.Pixel(3);
                    myDV.BorderColor = Color.Blue;

                    // Call the base method to generate the markup.
                    markup = base.GetDesignTimeHtml();
                }
                catch (Exception ex)
                {
                    markup = GetErrorDesignTimeHtml(ex);
                }
                finally
                {
                    // Restore the properties to their original settings.
                    myDV.BorderStyle = oldBorderStyle;
                    myDV.BorderWidth = oldBorderWidth;
                    myDV.BorderColor = oldBorderColor;
                }
            }
            else
            {
                // Call the base method to generate the markup.
                markup = base.GetDesignTimeHtml();
            }

            // Look for a <caption> tag.
            if ((charX = markup.IndexOf(capTag)) > 0)
            {
                // Replace the first caption with 
                // "tr><td colspan=2 align=center".
                markup = markup.Remove(charX,
                    capTag.Length).Insert(charX, trOpen);

                // Replace the second caption with "td></tr".
                if ((charX = markup.IndexOf(capTag, charX)) > 0)
                    markup = markup.Remove(charX,
                        capTag.Length).Insert(charX, trClose); 
            }
            return markup;
        } // GetDesignTimeHtml
    } // MyDetailsViewDesigner
} // Examples.CS.WebControls.Design
Imports System.Web
Imports System.Drawing
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design.WebControls
Imports System.Collections
Imports System.ComponentModel
Imports System.Security.Permissions

Namespace Examples.VB.WebControls.Design

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

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

        ' Determines the number of page links in the pager row
        ' when viewed in the designer.
        Protected Overrides ReadOnly Property SampleRowCount() As Integer
            Get
                ' Render five page links in the pager row.
                Return 5
            End Get
        End Property ' SampleRowCount

        ' Shadow the 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.
        Private Const capTag As String = "caption"
        Private Const trOpen As String = "tr><td colspan=2 align=center"
        Private Const trClose As String = "td></tr"

        Public Overrides Function GetDesignTimeHtml() As String

            ' Make the full extent of the control more visible in the designer.
            ' If the border style is None or NotSet, change the border to
            ' a wide, blue, dashed line. Include the caption within the border.
            Dim myDV As MyDetailsView = CType(Component, MyDetailsView)
            Dim markup As String = Nothing
            Dim charX As Integer

            ' Check if the border style should be changed.
            If (myDV.BorderStyle = BorderStyle.NotSet Or _
                myDV.BorderStyle = BorderStyle.None) Then

                Dim oldBorderStyle As BorderStyle = myDV.BorderStyle
                Dim oldBorderWidth As Unit = myDV.BorderWidth
                Dim oldBorderColor As Color = myDV.BorderColor

                ' Set design-time properties and catch any exceptions.
                Try
                    myDV.BorderStyle = BorderStyle.Dashed
                    myDV.BorderWidth = Unit.Pixel(3)
                    myDV.BorderColor = Color.Blue

                    ' Call the base method to generate the markup.
                    markup = MyBase.GetDesignTimeHtml()

                Catch ex As Exception
                    markup = GetErrorDesignTimeHtml(ex)

                Finally
                    ' Restore the properties to their original settings.
                    myDV.BorderStyle = oldBorderStyle
                    myDV.BorderWidth = oldBorderWidth
                    myDV.BorderColor = oldBorderColor
                End Try

            Else
                ' Call the base method to generate the markup.
                markup = MyBase.GetDesignTimeHtml()
            End If

            ' Look for a <caption> tag.
            charX = markup.IndexOf(capTag)
            If charX > 0 Then

                ' Replace the first caption with 
                ' "tr><td colspan=2 align=center".
                markup = markup.Remove(charX, _
                    capTag.Length).Insert(charX, trOpen)

                ' Replace the second caption with "td></tr".
                charX = markup.IndexOf(capTag, charX)
                If charX > 0 Then
                    markup = markup.Remove(charX, _
                        capTag.Length).Insert(charX, trClose)
                End If
            End If

            Return markup

        End Function ' GetDesignTimeHtml
    End Class
End Namespace ' Examples.VB.WebControls.Design

설명

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

속성을 DetailsViewDesigner 클래스에는 다음 기능을 제공 합니다.

  • ActionLists 속성에서 반환을 DesignerActionListCollection 일반적으로에서 파생 된 개체를 포함 하는 개체는 DesignerActionList 디자이너의 상속 트리의 각 수준에 대 한 클래스입니다.

  • AutoFormats 속성에 표시할 서식 지정 구성표 컬렉션을 반환 합니다 자동 서식 대화 상자.

  • TemplateGroups 속성 필드에 대 한 연결 된 템플릿 그룹의 컬렉션을 반환 DetailsView 컨트롤과 최상위 DetailsView 템플릿.

  • 합니다 UsePreviewControl 속성은 항상 반환 true, 디자이너에 연결 된 임시 복사본을 만들어는 DetailsView 컨트롤 디자인 타임 태그를 생성 합니다.

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

  • 합니다 DataBind 메서드는 연결 된 바인딩합니다 DetailsView 컨트롤을 디자인 타임 데이터 소스입니다.

  • 합니다 GetDesignTimeHtml 연결 된 렌더링 하는 데 사용 되는 태그를 반환 하는 메서드 DetailsView 디자인 타임.

  • 합니다 Initialize 메서드를 보고 편집 하 고 연결 된 디자인 디자이너 준비 DetailsView합니다.

  • 합니다 OnClick 메서드는 연결 된 디자인 타임 뷰의 영역 DetailsView 를 클릭 합니다.

  • 합니다 OnSchemaRefreshed 메서드를 호출한 경우 연결 된 데이터 소스의 스키마 DetailsView 변경 합니다.

  • 합니다 PreFilterProperties 제거 또는 추가 메서드를 사용 하거나 연결 된 섀도 속성을 DetailsView입니다.

디자인 타임에 편집할 수 있는 지역에서 지원 되지 않습니다 합니다 DetailsView 제어 하므로 GetEditableDesignerRegionContentSetEditableDesignerRegionContent 메서드 기능이 없습니다.

생성자

DetailsViewDesigner()

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

속성

ActionLists

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

AllowResize

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

(다음에서 상속됨 ControlDesigner)
AssociatedComponents

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

(다음에서 상속됨 ComponentDesigner)
AutoFormats

자동 서식 대화 상자에 표시할 자동 서식 지정 구성표 컬렉션을 가져옵니다.

Behavior
사용되지 않음.

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

(다음에서 상속됨 HtmlControlDesigner)
Component

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

(다음에서 상속됨 ComponentDesigner)
DataBindings

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

(다음에서 상속됨 HtmlControlDesigner)
DataBindingsEnabled

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

(다음에서 상속됨 ControlDesigner)
DataMember

내부 데이터 바인딩 컨트롤의 숨겨진 DataMember 속성을 가져옵니다.

(다음에서 상속됨 DataBoundControlDesigner)
DataSource

연결된 컨트롤에 대한 DataSource 속성의 값을 가져오거나 설정합니다.

(다음에서 상속됨 BaseDataBoundControlDesigner)
DataSourceDesigner

내부 데이터 바인딩 컨트롤의 데이터 소스 디자이너를 가져옵니다.

(다음에서 상속됨 DataBoundControlDesigner)
DataSourceID

내부 DataSourceID 개체의 BaseDataBoundControl 속성 값을 가져오거나 설정합니다.

(다음에서 상속됨 BaseDataBoundControlDesigner)
DesignerState

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

(다음에서 상속됨 ControlDesigner)
DesignerView

이 디자이너의 데이터 소스와 연결된 DesignerDataSourceView 개체를 가져옵니다.

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

연결된 컨트롤에서 표시할 샘플 행 수를 가져옵니다.

SetTextualDefaultProperty

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

(다음에서 상속됨 ComponentDesigner)
ShadowProperties

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

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

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

(다음에서 상속됨 HtmlControlDesigner)
Tag

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

(다음에서 상속됨 ControlDesigner)
TemplateGroups

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

UseDataSourcePickerActionList

디자이너의 작업 목록에 "데이터 소스 선택"을 포함해야 하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 DataBoundControlDesigner)
UsePreviewControl

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

Verbs

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

(다음에서 상속됨 ComponentDesigner)
ViewControl

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

(다음에서 상속됨 ControlDesigner)
ViewControlCreated

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

(다음에서 상속됨 ControlDesigner)
Visible

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

(다음에서 상속됨 ControlDesigner)

메서드

ConnectToDataSource()

이전 데이터 소스에서 이벤트의 연결을 끊고 현재 데이터 소스에 이벤트를 연결합니다.

(다음에서 상속됨 DataBoundControlDesigner)
CreateDataSource()

새 데이터 소스 컨트롤을 만들기 위한 표준 대화 상자를 호출하고 새 데이터 소스 컨트롤의 ID를 데이터 바인딩된 컨트롤의 DataSourceID 속성으로 설정합니다.

(다음에서 상속됨 DataBoundControlDesigner)
CreateErrorDesignTimeHtml(String)

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

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

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

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

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

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

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

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

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

(다음에서 상속됨 ControlDesigner)
DataBind(BaseDataBoundControl)

연결된 컨트롤을 디자인 타임 데이터 원본에 바인딩합니다.

DisconnectFromDataSource()

데이터 소스 이벤트에서 데이터 바인딩 컨트롤의 연결을 끊습니다.

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

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

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

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

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

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

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

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

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

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

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

연결된 DataSourceDesigner 또는 DataSource 속성에서 디자인 타임 데이터 소스를 가져옵니다.

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

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

GetDesignTimeHtml(DesignerRegionCollection)

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

GetEditableDesignerRegionContent(EditableDesignerRegion)

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

GetEmptyDesignTimeHtml()

컨트롤이 비어 있거나 데이터 소스를 검색할 수 없는 경우 디자인 타임에 컨트롤을 렌더링하는 데 사용되는 태그를 제공합니다.

(다음에서 상속됨 BaseDataBoundControlDesigner)
GetErrorDesignTimeHtml(Exception)

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

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

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

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

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

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

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

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

DataSourceDesigner 또는 DataSource 속성에서 샘플 데이터를 만들 수 없는 경우 디자인 화면에 데이터 바인딩된 컨트롤을 렌더링하기 위한 더미 샘플 데이터를 가져옵니다.

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

연결된 컨트롤에 대한 디자인 타임 뷰의 영역을 클릭할 때 호출됩니다.

OnComponentChanged(Object, ComponentChangedEventArgs)

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

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

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

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

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

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

연결된 BaseDataBoundControl 개체의 데이터 소스가 변경될 때 호출됩니다.

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

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

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

연결된 컨트롤의 데이터 원본 스키마가 변경될 때 호출됩니다.

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)

디자이너가 Properties의 디스플레이에서 속성을 제거 또는 추가하거나 연결된 컨트롤의 속성을 숨기는 데 사용됩니다.

RaiseComponentChanged(MemberDescriptor, Object, Object)

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

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

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

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

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

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

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

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

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

SetRegionContent(EditableDesignerRegion, String)

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

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

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

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

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

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

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

(다음에서 상속됨 ControlDesigner)

명시적 인터페이스 구현

IDataBindingSchemaProvider.CanRefreshSchema

이 멤버에 대한 설명은 CanRefreshSchema를 참조하세요.

(다음에서 상속됨 DataBoundControlDesigner)
IDataBindingSchemaProvider.RefreshSchema(Boolean)

이 멤버에 대한 설명은 RefreshSchema(Boolean)를 참조하세요.

(다음에서 상속됨 DataBoundControlDesigner)
IDataBindingSchemaProvider.Schema

이 멤버에 대한 설명은 Schema를 참조하세요.

(다음에서 상속됨 DataBoundControlDesigner)
IDataSourceProvider.GetResolvedSelectedDataSource()

이 멤버에 대한 설명은 GetResolvedSelectedDataSource()를 참조하세요.

(다음에서 상속됨 DataBoundControlDesigner)
IDataSourceProvider.GetSelectedDataSource()

이 멤버에 대한 설명은 GetSelectedDataSource()를 참조하세요.

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

적용 대상

추가 정보