Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method sets a value that indicates the horizontal alignment of text inside this text box.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetTextAlignment(
XRTextAlignment TextAlignment
) = 0;
Parameters
- TextAlignment
[in] 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 |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |