PropertyValueEditor.CreateEditorAttribute 方法

定义

创建一个新 EditorAttribute 值来指定用于更改属性值的特定 PropertyValueEditor 值。

重载

名称 说明
CreateEditorAttribute(PropertyValueEditor)

创建一个新 EditorAttribute 值来指定用于更改属性值的特定 PropertyValueEditor 值。

CreateEditorAttribute(Type)

创建一个新 EditorAttribute 值,以指定用于更改属性值的特定 PropertyValueEditor 类型。

CreateEditorAttribute(PropertyValueEditor)

创建一个新 EditorAttribute 值来指定用于更改属性值的特定 PropertyValueEditor 值。

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

参数

返回

指定EditorAttribute的新PropertyValueEditor项。

适用于

CreateEditorAttribute(Type)

创建一个新 EditorAttribute 值,以指定用于更改属性值的特定 PropertyValueEditor 类型。

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

参数

propertyValueEditorType
Type

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

返回

指定EditorAttribute类型的新PropertyValueEditor项。

适用于