IXRFrameworkElement::GetHeight (Compact 2013)
3/28/2014
This method retrieves the height of this framework element.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetHeight(
__out float* pHeight
) = 0;
Parameters
- pHeight
[out] Pointer to a float value that indicates the height of this framework element.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
This method retrieves the value of Height, which is a dependency property.
Height is one of the three writable properties on IXRFrameworkElement that specify height information. The other two are MinHeight and MaxHeight. You can retrieve these values by using IXRFrameworkElement::GetMinHeight and IXRFrameworkElement::GetMaxHeight. If there is a conflict between these values, the order of 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 it is within bounds, the value of Height must be honored.
.NET Framework Equivalent
System.Windows.FrameworkElement.Height
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |