IXRFrameworkElement::GetActualHeight (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the displayed height of this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetActualHeight(
    float *pActualHeight
) = 0;

Parameters

  • pActualHeight
    [out] Indicates the displayed height of this framework element, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value of pActualHeight is a calculated value based on other height inputs, and the layout system. The value is set by the layout system itself, based on an actual rendering pass, and might therefore lag slightly behind the set value of dependency properties, such as Height, that are the basis of the input change.

Because the value of pActualHeight is a calculated value, you should be aware that there could be multiple or incremental reported changes to it as a result of several different operations by the layout system. The layout system might be calculating required measure space for child elements, constraints by the parent element, and so on.

.NET Framework Equivalent

System.Windows.FrameworkElement.ActualHeight

Requirements

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

See Also

Reference

IXRFrameworkElement