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
Properties
Bottom
Bottom pole of the element.
public Variable Bottom { get; }
Property Value
Pole
Gets or sets the Elements pole to which the barrier will attach to.
public VerticalPoles Pole { get; set; }
Property Value
Top
Top pole of the element.
public Variable Top { get; }
Property Value
Methods
OnElementsChanged(string[]?, string[]?)
Invoked when the Elements property changes.
protected override void OnElementsChanged(string[]? oldValue, string[]? newValue)
Parameters
OnMarginChanged(double, double)
Invoked when the Margin property changes.
protected override void OnMarginChanged(double oldValue, double newValue)
Parameters
SetVariableNames(string)
Initializes the variables for the element given the chosen element identifier.
protected override void SetVariableNames(string id)
Parameters
idstring