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

要为其创建新 CategoryEditorEditorAttribute

返回

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

要为其创建新 CategoryEditorEditorAttribute 类型。

返回

EditorAttribute

一个新的 EditorAttribute

适用于