DataGridComponentEditor 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
웹 서버 컨트롤에 대한 구성 요소 편집기를 DataGrid 제공합니다.
public ref class DataGridComponentEditor : System::Web::UI::Design::WebControls::BaseDataListComponentEditor
public class DataGridComponentEditor : System.Web.UI.Design.WebControls.BaseDataListComponentEditor
type DataGridComponentEditor = class
inherit BaseDataListComponentEditor
Public Class DataGridComponentEditor
Inherits BaseDataListComponentEditor
- 상속
-
DataGridComponentEditor
예제
다음 코드 예제에서는 특성을 사용하여 EditorAttribute 이 편집기를 클래스를 확장하는 클래스와 연결합니다 DataGrid .
Imports System.ComponentModel
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design.WebControls
Imports System.Security.Permissions
Namespace Examples.AspNet
' Associate the SimpleDataList class with its designer using the
' DesignerAttribute class.
' Associate the SimpleDataList class with the DataListComponentEditor
' object using the EditorAttribute class.
<DesignerAttribute( _
GetType(SimpleDataListDesigner)), _
EditorAttribute(GetType(DataListComponentEditor), _
GetType(ComponentEditor)) _
> _
Public Class SimpleDataList
Inherits DataList
' To customize the DataList class, insert code here.
End Class
End Namespace
설명
구성 요소 편집기에서는 컨트롤의 속성을 편집하기 위한 UI(사용자 인터페이스)를 DataGrid 제공합니다.
생성자
| Name | Description |
|---|---|
| DataGridComponentEditor() |
클래스의 새 인스턴스를 DataGridComponentEditor 초기화하고 초기 페이지를 0으로 설정합니다. |
| DataGridComponentEditor(Int32) |
클래스의 새 인스턴스를 DataGridComponentEditor 초기화하고 초기 페이지를 지정된 인덱스로 설정합니다. |
메서드
| Name | Description |
|---|---|
| EditComponent(ITypeDescriptorContext, Object, IWin32Window) |
지정된 컨텍스트 설명자 및 부모 창을 사용하여 지정된 구성 요소를 편집합니다. (다음에서 상속됨 BaseDataListComponentEditor) |
| EditComponent(ITypeDescriptorContext, Object) |
지정된 컨텍스트 정보를 사용하여 사용자가 지정된 구성 요소를 편집할 수 있는 편집기 창을 만듭니다. (다음에서 상속됨 WindowsFormsComponentEditor) |
| EditComponent(Object, IWin32Window) |
사용자가 구성 요소를 소유하는 지정된 창을 사용하여 지정된 구성 요소를 편집할 수 있는 편집기 창을 만듭니다. (다음에서 상속됨 WindowsFormsComponentEditor) |
| EditComponent(Object) |
구성 요소를 편집하고 구성 요소가 수정되었는지 여부를 나타내는 값을 반환합니다. (다음에서 상속됨 ComponentEditor) |
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetComponentEditorPages() |
이 편집기를 사용하여 편집할 수 있는 페이지에 해당하는 개체의 Type 배열을 가져옵니다. |
| GetHashCode() |
기본 해시 함수로 사용됩니다. (다음에서 상속됨 Object) |
| GetInitialComponentEditorPageIndex() |
구성 요소 편집기에서 표시할 초기 페이지의 인덱스입니다. (다음에서 상속됨 BaseDataListComponentEditor) |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |