Прочетете на английски Редактиране

Споделяне чрез


ITreeDesigner Interface

Definition

Provides support for building a set of related custom designers.

C#
public interface ITreeDesigner : IDisposable, System.ComponentModel.Design.IDesigner
C#
public interface ITreeDesigner : System.ComponentModel.Design.IDesigner
Derived
Implements

Remarks

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.

This 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.

Properties

Children

Gets a collection of child designers.

Component

Gets the base component that this designer is designing.

(Inherited from IDesigner)
Parent

Gets the parent designer.

Verbs

Gets a collection of the design-time verbs supported by the designer.

(Inherited from IDesigner)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
DoDefaultAction()

Performs the default action for this designer.

(Inherited from IDesigner)
Initialize(IComponent)

Initializes the designer with the specified component.

(Inherited from IDesigner)

Applies to

Продукт Версии
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also