Compartilhar via


AnchoringBehavior.SetRightAnchor Method

Definition

Overloads

SetRightAnchor(ShapeField, AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of a sibling ShapeField.

SetRightAnchor(NodeShape, AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of a sibling NodeShape.

SetRightAnchor(ShapeField, Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [sibling ShapeField's width multiplied by percentage] relative to the sibling ShapeField's left side.

SetRightAnchor(AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of the parent ShapeElement.

SetRightAnchor(Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [parent ShapeElement's width multiplied by percentage] relative to the parent ShapeElement's left side.

SetRightAnchor(NodeShape, Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [sibling NodeShape's width multiplied by percentage] relative to the sibling NodeShape's left side.

SetRightAnchor(ShapeField, AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of a sibling ShapeField.

public:
 void SetRightAnchor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ sibling, Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetRightAnchor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField sibling, Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetRightAnchor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetRightAnchor (sibling As ShapeField, side As AnchoringBehavior.Edge, margin As Double)

Parameters

sibling
ShapeField

The sibling ShapeField to anchor to.

side
AnchoringBehavior.Edge

The side of the sibling ShapeField to anchor to.

margin
Double

The margin (in world units) between the ShapeField's right side and the specified side of the sibling ShapeField.

Applies to

SetRightAnchor(NodeShape, AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of a sibling NodeShape.

public:
 void SetRightAnchor(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ sibling, Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetRightAnchor (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape sibling, Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetRightAnchor : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetRightAnchor (sibling As NodeShape, side As AnchoringBehavior.Edge, margin As Double)

Parameters

sibling
NodeShape

The sibling NodeShape to anchor to.

side
AnchoringBehavior.Edge

The side of the sibling NodeShape to anchor to.

margin
Double

The margin (in world units) between the ShapeField's right side and the specified side of the sibling ShapeElement.

Applies to

SetRightAnchor(ShapeField, Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [sibling ShapeField's width multiplied by percentage] relative to the sibling ShapeField's left side.

public:
 void SetRightAnchor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ sibling, double percentage);
public void SetRightAnchor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField sibling, double percentage);
member this.SetRightAnchor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * double -> unit
Public Sub SetRightAnchor (sibling As ShapeField, percentage As Double)

Parameters

sibling
ShapeField

The sibling ShapeField whose width will be considered 100%.

percentage
Double

The percentage of the sibling ShapeField's width that will define the vertical line to anchor to. (1.0 is 100%)

Applies to

SetRightAnchor(AnchoringBehavior+Edge, Double)

Anchors the ShapeField's right side to a particular side of the parent ShapeElement.

public:
 void SetRightAnchor(Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetRightAnchor (Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetRightAnchor : Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetRightAnchor (side As AnchoringBehavior.Edge, margin As Double)

Parameters

side
AnchoringBehavior.Edge

The side of the parent ShapeElement to anchor to.

margin
Double

The margin (in world units) between the ShapeField's right side and the specified side of the parent ShapeElement.

Applies to

SetRightAnchor(Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [parent ShapeElement's width multiplied by percentage] relative to the parent ShapeElement's left side.

public:
 void SetRightAnchor(double percentage);
public void SetRightAnchor (double percentage);
member this.SetRightAnchor : double -> unit
Public Sub SetRightAnchor (percentage As Double)

Parameters

percentage
Double

The percentage of the parent ShapeElement's width that will define the vertical line to anchor to. (1.0 is 100%)

Applies to

SetRightAnchor(NodeShape, Double)

Anchors the ShapeField's right side to the vertical line which is a distance of [sibling NodeShape's width multiplied by percentage] relative to the sibling NodeShape's left side.

public:
 void SetRightAnchor(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ sibling, double percentage);
public void SetRightAnchor (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape sibling, double percentage);
member this.SetRightAnchor : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * double -> unit
Public Sub SetRightAnchor (sibling As NodeShape, percentage As Double)

Parameters

sibling
NodeShape

The sibling NodeShape whose width will be considered 100%.

percentage
Double

The percentage of the sibling NodeShape's width that will define the vertical line to anchor to. (1.0 is 100%)

Applies to