Share via


IXRTextBox::SetTextWrapping (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRTextBox
IXRTextBox::GetTextWrapping