WindowAnchor.Start // child to the left of the parent WindowAnchor.End // child to the right WindowAnchor.Top // child above WindowAnchor.Bottom // child below WindowAnchor.Center // child overlapping at center
WindowAnchor(parent = WindowEdge.Bottom.End, child = WindowEdge.Top.Start) WindowAnchor(parent = WindowEdge.End, child = WindowEdge.Center)
sealed class WindowAnchor
Bottom
: WindowAnchor
[Get] |
Window below the main window.
Signature
val Bottom: WindowAnchor |
Center
: WindowAnchor
[Get] |
Window centered on the main window (overlapping).
Signature
val Center: WindowAnchor |
End
: WindowAnchor
[Get] |
Window to the end (right in LTR) of the main window.
Signature
val End: WindowAnchor |
Start
: WindowAnchor
[Get] |
Window to the start (left in LTR) of the main window.
Signature
val Start: WindowAnchor |
Top
: WindowAnchor
[Get] |
Window above the main window.
Signature
val Top: WindowAnchor |
invoke
(
parent
, child
)
|
Creates an anchor with explicit parent and child attachment points.
Signature
operator fun invoke(parent: WindowEdge, child: WindowEdge): WindowAnchor Parameters parent: WindowEdgechild: WindowEdgeReturns WindowAnchor |