Partilhar via


AnchoringBehavior Class

Definition

Describes how the ShapeField should position and size itself as the parent NodeShape moves and resizes.

public ref class AnchoringBehavior
public class AnchoringBehavior
type AnchoringBehavior = class
Public Class AnchoringBehavior
Inheritance
AnchoringBehavior

Constructors

AnchoringBehavior(NodeShape)
AnchoringBehavior(ShapeField)

Properties

HasBottomAnchor

Gets a value indicating whether a bottom anchor has been specified.

HasLeftAnchor

Gets a value indicating whether a left anchor has been specified.

HasRightAnchor

Gets a value indicating whether a right anchor has been specified.

HasTopAnchor

Gets a value indicating whether a top anchor has been specified.

InvisibleCollapseFlags
MinimumHeight

Gets or sets the minimum height in world units.

MinimumHeightInLines

Gets or sets the minimum number of lines of text for this shape field.

MinimumWidth
MinimumWidthInCharacters

Methods

CenterHorizontally()
CenterHorizontally(AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterHorizontally(AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterHorizontally(AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterHorizontally(AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
CenterHorizontally(Double)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, AnchoringBehavior+Edge, Double)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, AnchoringBehavior+Edge)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterHorizontally(NodeShape, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, AnchoringBehavior+Edge, Double)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, AnchoringBehavior+Edge)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterHorizontally(ShapeField, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
CenterVertically()
CenterVertically(AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterVertically(AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterVertically(AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterVertically(AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
CenterVertically(Double)
CenterVertically(NodeShape, AnchoringBehavior+Edge, AnchoringBehavior+Edge, Double)
CenterVertically(NodeShape, AnchoringBehavior+Edge, AnchoringBehavior+Edge)
CenterVertically(NodeShape, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterVertically(NodeShape, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterVertically(NodeShape, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterVertically(NodeShape, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
CenterVertically(ShapeField, AnchoringBehavior+Edge, AnchoringBehavior+Edge, Double)
CenterVertically(ShapeField, AnchoringBehavior+Edge, AnchoringBehavior+Edge)
CenterVertically(ShapeField, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge, Double)
CenterVertically(ShapeField, AnchoringBehavior+Edge, NodeShape, AnchoringBehavior+Edge)
CenterVertically(ShapeField, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge, Double)
CenterVertically(ShapeField, AnchoringBehavior+Edge, ShapeField, AnchoringBehavior+Edge)
Clear()

Clears that currently set AnchorTargets and Suspensions.

ClearBottomAnchor()

Clears the bottom archor targets.

ClearRightAnchor()

Clears the right archor targets.

SetBottomAnchor(AnchoringBehavior+Edge, Double)

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

SetBottomAnchor(Double)

Anchors the ShapeField's bottom side to the horizontal line which is a distance of [parent ShapeElement's height multiplied by percentage] relative to the parent ShapeElement's top side.

SetBottomAnchor(NodeShape, AnchoringBehavior+Edge, Double)

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

SetBottomAnchor(NodeShape, Double)

Anchors the ShapeField's bottom side to the horizontal line which is a distance of [sibling NodeShape's height multiplied by percentage] relative to the sibling NodeShape's top side.

SetBottomAnchor(ShapeField, AnchoringBehavior+Edge, Double)

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

SetBottomAnchor(ShapeField, Double)

Anchors the ShapeField's bottom side to the horizontal line which is a distance of [sibling ShapeField's height multiplied by percentage] relative to the sibling ShapeField's top side.

SetLeftAnchor(AnchoringBehavior+Edge, Double)

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

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(NodeShape, AnchoringBehavior+Edge, Double)

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

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, AnchoringBehavior+Edge, Double)

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

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.

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, AnchoringBehavior+Edge, Double)

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

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.

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.

SetTopAnchor(AnchoringBehavior+Edge, Double)

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

SetTopAnchor(Double)

Anchors the ShapeField's top side to the horizontal line which is a distance of [parent ShapeElement's height multiplied by percentage] relative to the parent ShapeElement's top side.

SetTopAnchor(NodeShape, AnchoringBehavior+Edge, Double)

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

SetTopAnchor(NodeShape, Double)

Anchors the ShapeField's top side to the horizontal line which is a distance of [sibling NodeShape's height multiplied by percentage] relative to the sibling NodeShape's top side.

SetTopAnchor(ShapeField, AnchoringBehavior+Edge, Double)

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

SetTopAnchor(ShapeField, Double)

Anchors the ShapeField's top side to the horizontal line which is a distance of [sibling ShapeField's height multiplied by percentage] relative to the sibling ShapeField's top side.

Applies to