Partager via


IXRUIElement::InvalidateArrange (Compact 2013)

3/28/2014

This method invalidates the arrange state, or layout, for this UI element. After the invalidation, XAML for Windows Embedded asynchronously updates the element's layout.

Syntax

virtual HRESULT STDMETHODCALLTYPE InvalidateArrange() = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Frequent calls to IXRUIElement::InvalidateArrange or to IXRUIElement::UpdateLayout have significant performance consequences. Therefore, avoid calling this method unless you absolutely require precise layout state for subsequent calls to other APIs in your code.

.NET Framework Equivalent

System.Windows.UIElement.InvalidateArrange

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement