Decorator.UpdateDecoratorHostShapes Method

Definition

Overloads

UpdateDecoratorHostShapes(ModelElement)

Given a model element, finds all mapped presentation elements, and updates the corresponding decorator host shape bounds.

UpdateDecoratorHostShapes(ModelElement, Guid)

Given a model element, finds all mapped presentation elements, and updates the corresponding decorator host shape bounds.

UpdateDecoratorHostShapes(ModelElement)

Given a model element, finds all mapped presentation elements, and updates the corresponding decorator host shape bounds.

public:
 void UpdateDecoratorHostShapes(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public void UpdateDecoratorHostShapes (Microsoft.VisualStudio.Modeling.ModelElement element);
member this.UpdateDecoratorHostShapes : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub UpdateDecoratorHostShapes (element As ModelElement)

Parameters

element
ModelElement

Starting point for navigation to presentation elements

Applies to

UpdateDecoratorHostShapes(ModelElement, Guid)

Given a model element, finds all mapped presentation elements, and updates the corresponding decorator host shape bounds.

public:
 void UpdateDecoratorHostShapes(Microsoft::VisualStudio::Modeling::ModelElement ^ element, Guid domainClassId);
public void UpdateDecoratorHostShapes (Microsoft.VisualStudio.Modeling.ModelElement element, Guid domainClassId);
member this.UpdateDecoratorHostShapes : Microsoft.VisualStudio.Modeling.ModelElement * Guid -> unit
Public Sub UpdateDecoratorHostShapes (element As ModelElement, domainClassId As Guid)

Parameters

element
ModelElement

Starting point for navigation to presentation elements

domainClassId
Guid

Domain class identifier of class presentation elements are mapped to. In the case that this decorator has multiple associated domain class types, domainClassId is used to specify which association to use.

Applies to