AnchoringBehavior::SetLeftAnchor Method (ShapeField^, Double)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- sibling
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
The sibling ShapeField whose width will be considered 100%.
- percentage
-
Type:
System::Double
The percentage of the sibling ShapeField's width that will define the vertical line to anchor to. (1.0 is 100%)
Anchors the left side of the ShapeField to the vertical line that is a distance of [width of sibling ShapeField multiplied by percentage] relative to the left side of the sibling ShapeField.
Show: