Table of Contents

Class VerticalBarrier

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

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

public class VerticalBarrier : BarrierBase, INotifyPropertyChanged, IMagnetElement, IMagnetElementBase, IHorizontalPoles
Inheritance
VerticalBarrier
Implements
Inherited Members
Extension Methods

Fields

PoleProperty

The BindableProperty for the Pole property.

public static readonly BindableProperty PoleProperty

Field Value

BindableProperty

Properties

Left

Start pole of the element.

public Variable Left { get; }

Property Value

Variable

Pole

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

public HorizontalPoles Pole { get; set; }

Property Value

HorizontalPoles

Right

End pole of the element.

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