次の方法で共有


IXRFrameworkElement::SetMinHeight (Windows Embedded CE 6.0)

1/6/2010

This method sets the minimum height of this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetMinHeight(
    float MinHeight
) = 0; 

Parameters

  • MinHeight
    [in] A float value that indicates the new minimum height of this framework element.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method sets 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 set these properties by calling IXRFrameworkElement::SetHeight and IXRFrameworkElement::SetMaxHeight. 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::GetMinHeight