DataGridColumnCollectionEditor 클래스

정의

DataGrid 컨트롤의 열 컬렉션을 편집하기 위한 UI(사용자 인터페이스)를 제공합니다.

public ref class DataGridColumnCollectionEditor : System::Drawing::Design::UITypeEditor
public class DataGridColumnCollectionEditor : System.Drawing.Design.UITypeEditor
type DataGridColumnCollectionEditor = class
    inherit UITypeEditor
Public Class DataGridColumnCollectionEditor
Inherits UITypeEditor
상속
DataGridColumnCollectionEditor

예제

다음 코드 예제에서는 합니다 EditorAttribute 연결할 합니다 DataGridColumnCollectionEditor 클래스 및 UITypeEditor 클래스 (컬렉션 편집기의 기본 클래스)를 사용자 지정 Columns 속성입니다. 속성은에 대 한 참조를 DataGridColumnCollection 클래스입니다.

private DataGridColumnCollection columns = null;

// Associate the DataGridColumnCollectionEditor with the TestColumns. 
[EditorAttribute(typeof(System.Web.UI.Design.WebControls.
   DataGridColumnCollectionEditor),
   typeof(UITypeEditor))]
public DataGridColumnCollection TestColumns
{
    get { return columns; }
} // TestColumns
Private columns As DataGridColumnCollection

' Associate DataGridColumnCollectionEditor with the TestColumns.
<EditorAttribute( GetType( System.Web.UI.Design.WebControls. _
    DataGridColumnCollectionEditor), _
    GetType(UITypeEditor))> _
Public ReadOnly Property TestColumns() As DataGridColumnCollection
    Get
        Return columns
    End Get
End Property ' TestColumns

생성자

DataGridColumnCollectionEditor()

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

속성

IsDropDownResizable

드롭다운 편집기를 사용자가 크기 조정할 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 UITypeEditor)

메서드

EditValue(IServiceProvider, Object)

GetEditStyle() 메서드에 표시된 편집기 스타일을 사용하여 지정된 개체의 값을 편집합니다.

(다음에서 상속됨 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

지정된 컨텍스트 설명자와 서비스 공급자를 사용하여 지정된 값을 편집합니다.

Equals(Object)

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

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

EditValue(IServiceProvider, Object) 메서드에서 사용하는 편집기 스타일을 가져옵니다.

(다음에서 상속됨 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

지정된 ITypeDescriptorContext 개체를 사용하여 이 편집기와 연결된 편집 스타일을 가져옵니다.

GetHashCode()

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

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

이 편집기에서 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

지정된 컨텍스트에서 지정된 컨텍스트 내의 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

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

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

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

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

(다음에서 상속됨 Object)
PaintValue(Object, Graphics, Rectangle)

지정된 개체의 값 표시를 지정된 캔버스에 칠합니다.

(다음에서 상속됨 UITypeEditor)
PaintValue(PaintValueEventArgs)

지정된 PaintValueEventArgs를 사용하여 개체 값 표현를 칠합니다.

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

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

(다음에서 상속됨 Object)

적용 대상

추가 정보