IXRTextBox::SetTextWrapping (Compact 2013)
3/28/2014
This method sets how line breaking occurs if a line of text extends beyond the available width of this text box.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetTextWrapping(
XRTextWrapping TextWrapping
) = 0;
Parameters
- TextWrapping
[in] XRTextWrapping member that describes how line breaking occurs if a line of text extends beyond the available width of this text box.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
When you set the value in TextWrapping, you should consider the height and width of the text box. Any text that extends beyond the bounds of the text box will not be displayed. To retrieve these values, call the inherited methods IXRFrameworkElement::GetHeight and IXRFrameworkElement::GetWidth.
.NET Framework Equivalent
System.Windows.Controls.TextBox.TextWrapping
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |