Panels arrange their children in a space described by the AllottedGeometry parameter. The results of the arrangement should be returned by appending aFArrangedWidgetpair for every child widget. See StackPanel for an example