Partager via


IXRControl::SetVerticalContentAlignment (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetVerticalContentAlignment(
    XRVerticalAlignment VerticalContentAlignment
) = 0; 

Parameters

  • VerticalContentAlignment
    [in] XRVerticalAlignment member that indicates the new vertical alignment of the content in this control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.VerticalContentAlignment

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::GetVerticalContentAlignment