ComponentEditor.EditComponent 메서드

정의

구성 요소를 편집하고 지정된 구성 요소가 수정되었는지 여부를 확인합니다.

오버로드

Name Description
EditComponent(Object)

구성 요소를 편집하고 구성 요소가 수정되었는지 여부를 나타내는 값을 반환합니다.

EditComponent(ITypeDescriptorContext, Object)

구성 요소를 편집하고 지정된 컨텍스트에 따라 구성 요소가 수정되었는지 여부를 나타내는 값을 반환합니다.

EditComponent(Object)

구성 요소를 편집하고 구성 요소가 수정되었는지 여부를 나타내는 값을 반환합니다.

public:
 bool EditComponent(System::Object ^ component);
public bool EditComponent(object component);
member this.EditComponent : obj -> bool
Public Function EditComponent (component As Object) As Boolean

매개 변수

component
Object

편집할 구성 요소입니다.

반품

true구성 요소가 수정되었으면 다음을 실행합니다. 그렇지 않으면 . false

설명

이 메서드는 구성 요소를 편집하는 데 사용할 수 있는 고급 사용자 인터페이스를 엽니다. 기본 구현은 구성 요소 편집기 컨트롤 개체 및 사용자 인터페이스 컬렉션이 있는 대화 상자를 엽니다.

적용 대상

EditComponent(ITypeDescriptorContext, Object)

구성 요소를 편집하고 지정된 컨텍스트에 따라 구성 요소가 수정되었는지 여부를 나타내는 값을 반환합니다.

public:
 abstract bool EditComponent(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component);
public abstract bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object component);
abstract member EditComponent : System.ComponentModel.ITypeDescriptorContext * obj -> bool
Public MustOverride Function EditComponent (context As ITypeDescriptorContext, component As Object) As Boolean

매개 변수

context
ITypeDescriptorContext

편집에 대한 추가 정보를 가져오는 데 사용할 수 있는 선택적 컨텍스트 개체입니다.

component
Object

편집할 구성 요소입니다.

반품

true구성 요소가 수정되었으면 다음을 실행합니다. 그렇지 않으면 . false

설명

구성 요소에 대한 사용자 지정 편집 사용자 인터페이스를 제공하도록 이 메서드를 재정의할 수 있습니다. 이 메서드 내에서 대화 상자 또는 다른 유형의 사용자 인터페이스를 표시할 수 있습니다.

적용 대상