Class CompositionElement
Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll
public abstract class CompositionElement
Inheritance
Derived
Decorator, GeometryPresenter, Panel, Shape, TemplatedControl, TextBlock
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
ArrangedBounds
public LayoutRect ArrangedBounds { get; }
Property Value
DesiredSize
public LayoutSize DesiredSize { get; protected set; }
Property Value
IsMounted
public bool IsMounted { get; }
Property Value
MeasureConstraints
public LayoutConstraints MeasureConstraints { get; }
Property Value
Methods
Arrange(in LayoutRect)
public virtual void Arrange(in LayoutRect rect)
Parameters
rect
LayoutRect
GetChildren()
public virtual IEnumerable<CompositionElement> GetChildren()
Returns
IEnumerable<CompositionElement>
Measure(in LayoutConstraints)
public virtual void Measure(in LayoutConstraints constraints)
Parameters
constraints
LayoutConstraints
Mount()
public virtual void Mount()
Unmount()
public virtual void Unmount()