Summary
Positions child elements and determines a size for a container UIElement. Container
elements that support attached layouts should call this method from their layout
override implementations to form a recursive layout update.
Syntax
public Size Arrange(LayoutContext context, Size finalSize)
Parameters
Name |
Type |
Description |
context |
LayoutContext |
The context object that facilitates communication between the layout and its host
container.
|
finalSize |
Size |
The final size that the container computes for the child in layout.
|
Return Value
Type |
Description |
Size |
The actual size that is used after the element is arranged in layout. |