Table of Contents

Class HorizontalBarrier

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

Given a group of IMagnetElements, this barrier will be positioned to the outermost Pole.

public class HorizontalBarrier : BarrierBase, INotifyPropertyChanged, IMagnetElement, IMagnetElementBase, IVerticalPoles
Inheritance
HorizontalBarrier
Implements
Inherited Members
Extension Methods

Fields

PoleProperty

The BindableProperty for the Pole property.

public static readonly BindableProperty PoleProperty

Field Value

BindableProperty

Properties

Bottom

Bottom pole of the element.

public Variable Bottom { get; }

Property Value

Variable

Pole

Gets or sets the Elements pole to which the barrier will attach to.

public VerticalPoles Pole { get; set; }

Property Value

VerticalPoles

Top

Top pole of the element.

public Variable Top { get; }

Property Value

Variable

Methods

OnElementsChanged(string[]?, string[]?)

Invoked when the Elements property changes.

protected override void OnElementsChanged(string[]? oldValue, string[]? newValue)

Parameters

oldValue string[]
newValue string[]

OnMarginChanged(double, double)

Invoked when the Margin property changes.

protected override void OnMarginChanged(double oldValue, double newValue)

Parameters

oldValue double
newValue double

SetVariableNames(string)

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

protected override void SetVariableNames(string id)

Parameters

id string