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
Top
Top pole of the element.
public Variable Top { get; }
Property Value
Methods
GetConstraintForPosition(IMagnetStage)
Gets the constraint for the specified position.
protected override IEnumerable<Constraint> GetConstraintForPosition(IMagnetStage stage)
Parameters
stageIMagnetStage
Returns
GetIdentityConstraint(IMagnetStage)
Gets the constraint to enforce the two poles to be the same.
protected override IEnumerable<Constraint> GetIdentityConstraint(IMagnetStage stage)
Parameters
stageIMagnetStage
Returns
SetVariableNames(string)
Initializes the variables for the element given the chosen element identifier.
protected override void SetVariableNames(string id)
Parameters
idstring