Share via


IXRControl::SetHorizontalContentAlignment (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetHorizontalContentAlignment(
    XRHorizontalAlignment HorizontalContentAlignment
) = 0;

Parameters

  • HorizontalContentAlignment
    [in] XRHorizontalAlignment enumerated value that indicates the new 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRControl
IXRControl::GetHorizontalContentAlignment