Skip to main content

Class Panel

Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll

public class Panel : CompositionElement

Inheritance

objectCompositionElementPanel

Inherited Members

CompositionElement.ArrangedBounds, CompositionElement.MeasureConstraints, CompositionElement.DesiredSize, CompositionElement.IsMounted, CompositionElement.Measure(in LayoutConstraints), CompositionElement.Arrange(in LayoutRect), CompositionElement.Mount(), CompositionElement.Unmount(), CompositionElement.GetChildren(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Children

public IList<CompositionElement> Children { get; }

Property Value

IList<CompositionElement>

CrossAlignment

public LayoutAlignment CrossAlignment { get; set; }

Property Value

LayoutAlignment

Orientation

public LayoutOrientation Orientation { get; set; }

Property Value

LayoutOrientation

Padding

public LayoutThickness Padding { get; set; }

Property Value

LayoutThickness

Spacing

public double Spacing { get; set; }

Property Value

double

Methods

Arrange(in LayoutRect)

public override void Arrange(in LayoutRect rect)

Parameters

rect LayoutRect

GetChildren()

public override IEnumerable<CompositionElement> GetChildren()

Returns

IEnumerable<CompositionElement>

Measure(in LayoutConstraints)

public override void Measure(in LayoutConstraints constraints)

Parameters

constraints LayoutConstraints