Share via


CategoryEditor.CreateEditorAttribute 方法 (CategoryEditor)

公用程式方法,這個方法會為指定的 CategoryEditor 建立新 EditorAttribute

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
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

參數

傳回值

型別:System.ComponentModel.EditorAttribute
指定之 CategoryEditor 的新 EditorAttribute

.NET Framework 安全性

請參閱

參考

CategoryEditor 類別

CreateEditorAttribute 多載

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

屬性編輯架構

WPF 設計工具擴充性