Table of Contents

Class HorizontalGuideline

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

A horizontal guideline.

public class HorizontalGuideline : GuidelineBase, INotifyPropertyChanged, IMagnetElement, IMagnetElementBase, IVerticalPoles
Inheritance
HorizontalGuideline
Implements
Inherited Members
Extension Methods

Properties

Bottom

Bottom pole of the element.

public Variable Bottom { get; }

Property Value

Variable

Top

Top pole of the element.

public Variable Top { 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