ArrayEditor 클래스

정의

디자인 타임에 배열을 편집하기 위한 사용자 인터페이스를 제공합니다.

public ref class ArrayEditor : System::ComponentModel::Design::CollectionEditor
public class ArrayEditor : System.ComponentModel.Design.CollectionEditor
type ArrayEditor = class
    inherit CollectionEditor
Public Class ArrayEditor
Inherits CollectionEditor
상속

예제

다음 코드 예제에서는 속성에 System.ComponentModel.EditorAttribute 적용 하는 방법을 보여 줍니다.

public:
   property array<Object^>^ componentArray 
   {
      [EditorAttribute(System::ComponentModel::Design::ArrayEditor::typeid,
         System::Drawing::Design::UITypeEditor::typeid)]
      array<Object^>^ get()
      {
         return compArray;
      }
      void set( array<Object^>^ value )
      {
         compArray = value;
      }
   }
private:
   array<Object^>^compArray;
[EditorAttribute(typeof(System.ComponentModel.Design.ArrayEditor), typeof(System.Drawing.Design.UITypeEditor))]
public object[] componentArray
{
    get
    {
        return compArray;
    }
    set
    {
        compArray = value;
    }
}
private object[] compArray;
<EditorAttribute(GetType(ArrayEditor), GetType(System.Drawing.Design.UITypeEditor))> _
Public Property componentArray() As Object()
    Get
        Return compArray
    End Get
    Set(ByVal Value As Object())
        compArray = Value
    End Set
End Property
Private compArray() As Object

설명

이 편집기를 사용하여 디자인 타임 환경 내에서 배열을 편집할 수 있습니다.

생성자

Name Description
ArrayEditor(Type)

배열에 지정된 데이터 형식을 ArrayEditor 사용하는 새 인스턴스를 초기화합니다.

속성

Name Description
CollectionItemType

컬렉션에 있는 각 항목의 데이터 형식을 가져옵니다.

(다음에서 상속됨 CollectionEditor)
CollectionType

컬렉션 개체의 데이터 형식을 가져옵니다.

(다음에서 상속됨 CollectionEditor)
Context

현재 컨텍스트를 나타내는 형식 설명자를 가져옵니다.

(다음에서 상속됨 CollectionEditor)
HelpTopic

편집기 대화 상자 도움말 단추 또는 F1 키를 누를 때 도움말 항목 또는 항목 목록을 표시하는 도움말 키워드를 가져옵니다.

(다음에서 상속됨 CollectionEditor)
IsDropDownResizable

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

(다음에서 상속됨 UITypeEditor)
NewItemTypes

이 컬렉션에 대해 만들 수 있는 사용 가능한 항목 유형을 가져옵니다.

(다음에서 상속됨 CollectionEditor)

메서드

Name Description
CancelChanges()

컬렉션의 변경 내용을 취소합니다.

(다음에서 상속됨 CollectionEditor)
CanRemoveInstance(Object)

컬렉션의 원래 멤버를 제거할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 CollectionEditor)
CanSelectMultipleInstances()

여러 컬렉션 항목을 한 번에 선택할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 CollectionEditor)
CreateCollectionForm()

현재 컬렉션을 표시하고 편집할 새 양식을 만듭니다.

(다음에서 상속됨 CollectionEditor)
CreateCollectionItemType()

이 컬렉션이 포함하도록 디자인된 데이터 형식을 가져옵니다.

CreateInstance(Type)

지정된 컬렉션 항목 형식의 새 인스턴스를 만듭니다.

(다음에서 상속됨 CollectionEditor)
CreateNewItemTypes()

이 컬렉션 편집기에서 포함할 수 있는 데이터 형식을 가져옵니다.

(다음에서 상속됨 CollectionEditor)
DestroyInstance(Object)

개체의 지정된 인스턴스를 제거합니다.

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

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

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

지정된 서비스 공급자 및 컨텍스트를 사용하여 지정된 개체의 값을 편집합니다.

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

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.

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

지정된 목록 항목의 표시 텍스트를 검색합니다.

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

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

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

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

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

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

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

배열의 항목을 가져옵니다.

GetObjectsFromInstance(Object)

지정된 개체를 포함하는 목록을 반환합니다.

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

이 편집기가 개체 값의 표현 그리기를 지원하는지 여부를 나타냅니다.

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

지정된 컨텍스트에서 지정된 컨텍스트 내에서 개체 값의 표현 그리기를 지원하는지 여부를 나타냅니다.

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

요청된 서비스를 가져옵니다(사용 가능한 경우).

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

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

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

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

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

지정된 개체 값의 표현을 지정된 캔버스에 그립니다.

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

지정된 PaintValueEventArgs개체를 사용하여 개체 값의 표현을 그립니다.

(다음에서 상속됨 UITypeEditor)
SetItems(Object, Object[])

배열의 항목을 설정합니다.

ShowHelp()

컬렉션 편집기에서 기본 도움말 항목을 표시합니다.

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

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

(다음에서 상속됨 Object)

적용 대상

추가 정보