Share via


IXRControl::SetHorizontalContentAlignment (Compact 2013)

3/28/2014

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

See Also

Reference

IXRControl
IXRControl::GetHorizontalContentAlignment