Share via


DependencyPropertyDescriptor.GetEditor(Type) 方法

定義

取得指定型別的編輯器。

public:
 override System::Object ^ GetEditor(Type ^ editorBaseType);
public override object GetEditor (Type editorBaseType);
override this.GetEditor : Type -> obj
Public Overrides Function GetEditor (editorBaseType As Type) As Object

參數

editorBaseType
Type

編輯器的基底型別 (Base Type),用來區分屬性支援的多個編輯器。

傳回

要求的編輯器型別的執行個體,或者如果找不到,則為 null

備註

這個方法依賴基礎 PropertyDescriptor

適用於