Class Panel
Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll
public class Panel : CompositionElement
Inheritance
object ← CompositionElement ← Panel
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
CrossAlignment
public LayoutAlignment CrossAlignment { get; set; }
Property Value
Orientation
public LayoutOrientation Orientation { get; set; }
Property Value
Padding
public LayoutThickness Padding { get; set; }
Property Value
Spacing
public double Spacing { get; set; }
Property Value
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