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 设计器扩展性