다음을 통해 공유


PropertyValueEditor.CreateEditorAttribute 메서드 (Type)

지정된 PropertyValueEditor 형식에 대한 새 EditorAttribute를 만드는 유틸리티 메서드입니다.

네임스페이스:  Microsoft.Windows.Design.PropertyEditing
어셈블리:  Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)

구문

‘선언
Public Shared Function CreateEditorAttribute ( _
    propertyValueEditorType As Type _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
    Type propertyValueEditorType
)
public:
static EditorAttribute^ CreateEditorAttribute(
    Type^ propertyValueEditorType
)
static member CreateEditorAttribute : 
        propertyValueEditorType:Type -> EditorAttribute 
public static function CreateEditorAttribute(
    propertyValueEditorType : Type
) : EditorAttribute

매개 변수

반환 값

형식: System.ComponentModel.EditorAttribute
지정된 PropertyValueEditor 형식에 대한 새 EditorAttribute입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

PropertyValueEditor 클래스

CreateEditorAttribute 오버로드

Microsoft.Windows.Design.PropertyEditing 네임스페이스

기타 리소스

속성 편집 아키텍처

WPF Designer 확장성