IXRFrameworkElement::GetMinHeight (Compact 2013)

3/28/2014

This method retrieves the minimum height of this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetMinHeight(
    __out 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

See Also

Reference

IXRFrameworkElement
IXRFrameworkElement::SetMinHeight