IXRFrameworkElement::GetMinWidth (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the minimum width of this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetMinWidth(
    float *pMinWidth
) = 0;

Parameters

  • pMinWidth
    [out] Pointer to a value that indicates the minimum width of this framework element, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method retrieves MinWidth, which is a dependency property. This is one of three properties on IXRFrameworkElement that specify width information. The other two are Width and MaxWidth. You can retrieve these properties by calling IXRFrameworkElement::GetWidth and IXRFrameworkElement::GetMaxWidth. If there is a conflict between these values, the order of making the actual width determination is as follows: first, the value of MinWidth must be checked, then the value of MaxWidth must be checked, and finally, if each of these are within bounds, the value of Width must be honored as the width of this element.

.NET Framework Equivalent

System.Windows.FrameworkElement.MinWidth

Requirements

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

See Also

Reference

IXRFrameworkElement
IXRFrameworkElement::SetMinWidth