PropertyValueEditor.CreateEditorAttribute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新 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
参数
- editor
- PropertyValueEditor
返回
指定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项。