Partager via


IXRUIElement::Arrange (Windows Embedded CE 6.0)

1/6/2010

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. Silverlight 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement