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