avalonia docs

LayoutTransformControl

The LayoutTransformControl allows for dynamically transforming layout completely within the View class definition.

Reference

LayoutTransformControl

Source code

LayoutTransformControl.cs