ShapeDecorator.ConfigureHostShape(ShapeElement) Methode

Definition

Konfiguriert eine HostForm für die Verwendung mit diesem Decorator.
Wenn das angegebene übergeordnete Element keine HostForm für dieses Decorator-Element hat, wird ein neues erstellt. Wenn bereits eine HostForm vorhanden ist, werden die Einstellungen für dieses Decorator-Gerät erneut auf die vorhandene HostForm angewendet. Es wird keine neue HostForm erstellt.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::DecoratorHostShape ^ ConfigureHostShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parent);
public override Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape ConfigureHostShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parent);
override this.ConfigureHostShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
Public Overrides Function ConfigureHostShape (parent As ShapeElement) As DecoratorHostShape

Parameter

parent
ShapeElement

Gibt zurück

DecoratorHostShape

Gilt für