ITreeDesigner ITreeDesigner ITreeDesigner ITreeDesigner Interface


為建置一組相關的自訂設計工具提供支援。Provides support for building a set of related custom designers.

public interface class ITreeDesigner : IDisposable, System::ComponentModel::Design::IDesigner
public interface ITreeDesigner : IDisposable, System.ComponentModel.Design.IDesigner
type ITreeDesigner = interface
    interface IDesigner
    interface IDisposable
Public Interface ITreeDesigner
Implements IDesigner, IDisposable


ITreeDesigner介面是衍生自IDesigner介面,並提供彈性的方式瀏覽相關的設計工具階層架構的支援。The ITreeDesigner interface derives from the IDesigner interface and provides support for flexibly navigating a hierarchy of related designers. 使用這個介面,程式設計人員可以提供幾個元件的設計工具的動態決定適當的一個。With this interface, a programmer can supply a number of designers for the component, with the appropriate one being determined dynamically.

這個介面是簡單的延伸模組,其基底類別,新增了兩個導覽樹狀目錄階層的屬性:ChildrenParentThis interface is a simple extension of its base class, adding just two properties for navigating a tree hierarchy: Children and Parent.

建立設計元件的概觀,請參閱擴充設計階段支援For an overview of creating design components, see Extending Design-Time Support.


Children Children Children Children

取得子設計工具的集合。Gets a collection of child designers.

Component Component Component Component

取得此設計工具正在設計的基底元件。Gets the base component that this designer is designing.

(Inherited from IDesigner)
Parent Parent Parent Parent

取得父設計工具。Gets the parent designer.

Verbs Verbs Verbs Verbs

取得設計工具所支援的設計階段動詞命令集合。Gets a collection of the design-time verbs supported by the designer.

(Inherited from IDesigner)


Dispose() Dispose() Dispose() Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
DoDefaultAction() DoDefaultAction() DoDefaultAction() DoDefaultAction()

執行這個設計工具的預設動作。Performs the default action for this designer.

(Inherited from IDesigner)
Initialize(IComponent) Initialize(IComponent) Initialize(IComponent) Initialize(IComponent)

使用指定的元件,初始化設計工具。Initializes the designer with the specified component.

(Inherited from IDesigner)