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

설명

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

생성자

ArrayEditor(Type)

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

속성

CollectionItemType

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

(다음에서 상속됨 CollectionEditor)
CollectionType

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

(다음에서 상속됨 CollectionEditor)
Context

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

(다음에서 상속됨 CollectionEditor)
HelpTopic

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

(다음에서 상속됨 CollectionEditor)
IsDropDownResizable

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

(다음에서 상속됨 UITypeEditor)
NewItemTypes

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

(다음에서 상속됨 CollectionEditor)

메서드

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)

적용 대상

추가 정보