Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.35 KB

nonvirtualizinglayout_arrangeoverride_1338397335.md

File metadata and controls

39 lines (22 loc) · 1.35 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.NonVirtualizingLayout.ArrangeOverride(Microsoft.UI.Xaml.Controls.NonVirtualizingLayoutContext,Windows.Foundation.Size)
winrt method

Microsoft.UI.Xaml.Controls.NonVirtualizingLayout.ArrangeOverride(Microsoft.UI.Xaml.Controls.NonVirtualizingLayoutContext,Windows.Foundation.Size)

-description

When implemented in a derived class, provides the behavior for the "Arrange" pass of layout. Classes can override this method to define their own "Arrange" pass behavior.

-parameters

-param context

The context object that facilitates communication between the layout and its host container.

-param finalSize

The final area within the container that this object should use to arrange itself and its children.

-returns

The actual size that is used after the element is arranged in layout.

-remarks

Override this method to provide the behavior for the arrange pass of the layout cycle on a container element.

The attached layout is expected to call Arrange for each of the container's children, which can be accessed through the provided NonVirtualizingLayoutContext.

-see-also

-examples