Partager via


IXRFrameworkElement::GetMinHeight (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the minimum height of this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetMinHeight(
    float *pMinHeight
) = 0;

Parameters

  • pMinHeight
    [out] Pointer to a float value that specifies the minimum height of this framework element.

Return Value

Returns an HRESULT that indicates success of failure.

Remarks

This method retrieves MinHeight, which is a dependency property.

MinHeight is one of three properties on IXRFrameworkElement that specify height information. The other two are Height and MaxHeight. You can access these properties by calling IXRFrameworkElement::GetHeight and IXRFrameworkElement::GetMaxHeight. If there is a conflict between these values, the order to making the actual height determination is as follows: first, the value of MinHeight must be honored, then the value of MaxHeight must be honored, and finally, if each of these values are within bounds, the value of Height will be honored.

.NET Framework Equivalent

System.Windows.FrameworkElement.MinHeight

Requirements

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

See Also

Reference

IXRFrameworkElement
IXRFrameworkElement::SetMinHeight