Layout events
Events that occur when the layout engine changes the layout of an element.
Read time 1 minuteLast updated a month ago
GeometryChangedEventThe base class for is the EventBase class.
GeometryChangedEventThe following table describes the layout event and its propagation phases:
Event | Description | Trickles down | Bubbles up | Cancellable |
|---|---|---|---|---|
| GeometryChangedEvent | Sent when the position or the dimensions of an element changes. |
Unique properties
oldRectnewRectGeometryChangedEvent
The is sent when either the position or the dimensions of an element changes. Events of this type are only sent to the event target.
GeometryChangedEventIt's important to unregister from the event after you receive your callback, as additional layout changes will trigger the callback again.
GeometryChangedEventtarget