CategoryEditor.CreateEditorAttribute 方法

定义

为指定的EditorAttribute值创建一个新CategoryEditor项。

重载

名称 说明
CreateEditorAttribute(CategoryEditor)

为指定的EditorAttribute值创建一个新CategoryEditor项。

CreateEditorAttribute(Type)

EditorAttribute为指定CategoryEditor类型创建新项。

CreateEditorAttribute(CategoryEditor)

为指定的EditorAttribute值创建一个新CategoryEditor项。

public:
 static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(System::Activities::Presentation::PropertyEditing::CategoryEditor ^ editor);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute(System.Activities.Presentation.PropertyEditing.CategoryEditor editor);
static member CreateEditorAttribute : System.Activities.Presentation.PropertyEditing.CategoryEditor -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (editor As CategoryEditor) As EditorAttribute

参数

editor
CategoryEditor

CategoryEditor要为其创建新EditorAttribute项。

返回

新的 EditorAttribute

适用于

CreateEditorAttribute(Type)

EditorAttribute为指定CategoryEditor类型创建新项。

public:
 static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(Type ^ categoryEditorType);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute(Type categoryEditorType);
static member CreateEditorAttribute : Type -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (categoryEditorType As Type) As EditorAttribute

参数

categoryEditorType
Type

CategoryEditor要为其创建新EditorAttribute类型的类型。

返回

新的 EditorAttribute

适用于