Bagikan melalui


CategoryEditor.CreateEditorAttribute Method (CategoryEditor)

Utility method that creates a new EditorAttribute for the specified CategoryEditor.

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

Syntax

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

Parameters

Return Value

Type: System.ComponentModel.EditorAttribute
New EditorAttribute for the specified CategoryEditor.

.NET Framework Security

See Also

Reference

CategoryEditor Class

CreateEditorAttribute Overload

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility