Table of Contents

Class VerticalGuideline

Namespace
Nalu.MagnetLayout
Assembly
Nalu.Maui.Layouts.dll

A vertical guideline.

public class VerticalGuideline : GuidelineBase, INotifyPropertyChanged, IMagnetElement, IMagnetElementBase, IHorizontalPoles
Inheritance
VerticalGuideline
Implements
Inherited Members
Extension Methods

Properties

Left

Start pole of the element.

public Variable Left { get; }

Property Value

Variable

Right

End pole of the element.

public Variable Right { get; }

Property Value

Variable

Methods

GetConstraintForPosition(IMagnetStage)

Gets the constraint for the specified position.

protected override IEnumerable<Constraint> GetConstraintForPosition(IMagnetStage stage)

Parameters

stage IMagnetStage

Returns

IEnumerable<Constraint>

GetIdentityConstraint(IMagnetStage)

Gets the constraint to enforce the two poles to be the same.

protected override IEnumerable<Constraint> GetIdentityConstraint(IMagnetStage stage)

Parameters

stage IMagnetStage

Returns

IEnumerable<Constraint>

SetVariableNames(string)

Initializes the variables for the element given the chosen element identifier.

protected override void SetVariableNames(string id)

Parameters

id string