CategoryEditor.CreateEditorAttribute 方法 (Type)

可为指定的 CategoryEditor 类型创建新 EditorAttribute 的实用工具方法。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Shared Function CreateEditorAttribute ( _
    categoryEditorType As Type _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
    Type categoryEditorType
)
public:
static EditorAttribute^ CreateEditorAttribute(
    Type^ categoryEditorType
)
static member CreateEditorAttribute : 
        categoryEditorType:Type -> EditorAttribute 
public static function CreateEditorAttribute(
    categoryEditorType : Type
) : EditorAttribute

参数

返回值

类型:System.ComponentModel.EditorAttribute
指定的 CategoryEditor 类型的新 EditorAttribute

.NET Framework 安全性

请参见

参考

CategoryEditor 类

CreateEditorAttribute 重载

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

属性编辑体系结构

WPF 设计器扩展性