次の方法で共有


IXRUIElement::GetDesiredSize (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the size of this UI element as computed during the measure pass of the layout process.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetDesiredSize(
    XRSize* pSize
) = 0;

Parameters

  • pSize
    [out] Pointer to an XRSize structure that indicates the size that this UI element computed during the measure pass of the layout process.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value in pSize is set by calling the IXRUIElement::Measure method.

.NET Framework Equivalent

System.Windows.UIElement.DesiredSize

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement