Compartilhar via


IXRTextBox::GetTextAlignment (Compact 2013)

3/28/2014

This method retrieves a value that indicates the horizontal alignment of text inside this text box.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTextAlignment(
    XRTextAlignment* pTextAlignment
) = 0;

Parameters

  • pTextAlignment
    [out] Pointer to an XRTextAlignment member that indicates the horizontal alignment of text inside this text box.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBox.TextAlignment

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBox
IXRTextBox::SetTextAlignment