CategoryEditor.CreateEditorAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new EditorAttribute for the specified CategoryEditor.
Overloads
CreateEditorAttribute(CategoryEditor) |
Creates a new EditorAttribute for the specified CategoryEditor. |
CreateEditorAttribute(Type) |
Creates a new EditorAttribute for the specified CategoryEditor type. |
CreateEditorAttribute(CategoryEditor)
Creates a new EditorAttribute for the specified 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
Parameters
- editor
- CategoryEditor
The CategoryEditor for which to create a new EditorAttribute.
Returns
A new EditorAttribute.
Applies to
CreateEditorAttribute(Type)
Creates a new EditorAttribute for the specified CategoryEditor type.
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
Parameters
- categoryEditorType
- Type
The CategoryEditor type for which to create the new EditorAttribute.
Returns
A new EditorAttribute.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈