PropertyValueEditor.CreateEditorAttribute Method (PropertyValueEditor)

Utility method that creates a new EditorAttribute for the specified PropertyValueEditor type.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Function CreateEditorAttribute ( _
    editor As PropertyValueEditor _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
    PropertyValueEditor editor
)
public:
static EditorAttribute^ CreateEditorAttribute(
    PropertyValueEditor^ editor
)
static member CreateEditorAttribute : 
        editor:PropertyValueEditor -> EditorAttribute 
public static function CreateEditorAttribute(
    editor : PropertyValueEditor
) : EditorAttribute

Parameters

Return Value

Type: System.ComponentModel.EditorAttribute
A new EditorAttribute for the specified PropertyValueEditor type.

.NET Framework Security

See Also

Reference

PropertyValueEditor Class

CreateEditorAttribute Overload

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility