Skip to main content

Class Decorator

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

public class Decorator : CompositionElement

Inheritance

objectCompositionElementDecorator

Derived

Border

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

Child

public CompositionElement? Child { get; set; }

Property Value

CompositionElement?

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

Mount()

public override void Mount()

Unmount()

public override void Unmount()