次の方法で共有


IXRControl::GetHorizontalContentAlignment (Compact 2013)

3/28/2014

This method retrieves the horizontal alignment of the content in this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetHorizontalContentAlignment(
    XRHorizontalAlignment* pHorizontalContentAlignment
) = 0;

Parameters

  • pHorizontalContentAlignment
    [out] Pointer to an XRHorizontalAlignment enumerated value that indicates the horizontal alignment of the content in this control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.HorizontalContentAlignment

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::SetHorizontalContentAlignment