AnchoringBehavior.SetLeftAnchor Method

Definition

Overloads

SetLeftAnchor(Double)

Anchors the ShapeField's left 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.

SetLeftAnchor(AnchoringBehavior+Edge, Double)

Anchors the ShapeField's left side to a particular side of the parent Shape.

SetLeftAnchor(NodeShape, Double)

Anchors the ShapeField's left 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.

SetLeftAnchor(ShapeField, Double)

Anchors the ShapeField's left 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.

SetLeftAnchor(NodeShape, AnchoringBehavior+Edge, Double)

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

SetLeftAnchor(ShapeField, AnchoringBehavior+Edge, Double)

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

SetLeftAnchor(Double)

Anchors the ShapeField's left 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 SetLeftAnchor(double percentage);
public void SetLeftAnchor (double percentage);
member this.SetLeftAnchor : double -> unit
Public Sub SetLeftAnchor (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

SetLeftAnchor(AnchoringBehavior+Edge, Double)

Anchors the ShapeField's left side to a particular side of the parent Shape.

public:
 void SetLeftAnchor(Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetLeftAnchor (Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetLeftAnchor : Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetLeftAnchor (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 left side and the specified side of the parent ShapeElement.

Applies to

SetLeftAnchor(NodeShape, Double)

Anchors the ShapeField's left 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 SetLeftAnchor(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ sibling, double percentage);
public void SetLeftAnchor (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape sibling, double percentage);
member this.SetLeftAnchor : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * double -> unit
Public Sub SetLeftAnchor (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 ShapeElement's width that will define the vertical line to anchor to. (1.0 is 100%)

Applies to

SetLeftAnchor(ShapeField, Double)

Anchors the ShapeField's left 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 SetLeftAnchor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ sibling, double percentage);
public void SetLeftAnchor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField sibling, double percentage);
member this.SetLeftAnchor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * double -> unit
Public Sub SetLeftAnchor (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

SetLeftAnchor(NodeShape, AnchoringBehavior+Edge, Double)

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

public:
 void SetLeftAnchor(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ sibling, Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetLeftAnchor (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape sibling, Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetLeftAnchor : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetLeftAnchor (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 ShapeElement to anchor to.

margin
Double

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

Applies to

SetLeftAnchor(ShapeField, AnchoringBehavior+Edge, Double)

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

public:
 void SetLeftAnchor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ sibling, Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior::Edge side, double margin);
public void SetLeftAnchor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField sibling, Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge side, double margin);
member this.SetLeftAnchor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge * double -> unit
Public Sub SetLeftAnchor (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 left side and the specified side of the sibling ShapeField.

Applies to