PropertyValueEditor.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 to designate that a particular PropertyValueEditor be used to change a property value.
Overloads
CreateEditorAttribute(PropertyValueEditor) |
Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value. |
CreateEditorAttribute(Type) |
Creates a new EditorAttribute to designate that a particular PropertyValueEditor type be used to change a property value. |
CreateEditorAttribute(PropertyValueEditor)
Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value.
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
Parameters
- editor
- PropertyValueEditor
The PropertyValueEditor for which to create the new EditorAttribute.
Returns
A new EditorAttribute for the designated PropertyValueEditor.
Applies to
CreateEditorAttribute(Type)
Creates a new EditorAttribute to designate that a particular PropertyValueEditor type be used to change a property value.
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
Parameters
- propertyValueEditorType
- Type
The PropertyValueEditor type for which to create the new EditorAttribute.
Returns
A new EditorAttribute for the designated PropertyValueEditor type.