Compartir a través de


IXRUIElement::Arrange (Compact 2013)

3/28/2014

This method positions child elements on the graphical window and determines a size for IXRUIElement.

Parent elements that implement a custom layout can call this method from their layout-override implementations to form a recursive layout update.

Syntax

virtual HRESULT STDMETHODCALLTYPE Arrange(
    XRRect* pRect
) = 0;

Parameters

  • pRect
    [in] Pointer to an XRRect structure that describes the final size that the parent element computes for the child element.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You should only call Arrange if you override a method in order to provide custom layout actions. XAML for Windows Embedded layout works autonomously, based on detecting changes to the visual tree and layout-relevant properties at run time.

.NET Framework Equivalent

System.Windows.UIElement.Arrange

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement