Compartilhar via


TextView.LineBreakWordStyle Property

Definition

Gets the current line-break word style for text wrapping. -or- Sets the line-break word style for text wrapping.

public virtual int LineBreakWordStyle { [Android.Runtime.Register("getLineBreakWordStyle", "()I", "GetGetLineBreakWordStyleHandler", ApiSince=33)] get; [Android.Runtime.Register("setLineBreakWordStyle", "(I)V", "GetSetLineBreakWordStyle_IHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getLineBreakWordStyle", "()I", "GetGetLineBreakWordStyleHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setLineBreakWordStyle", "(I)V", "GetSetLineBreakWordStyle_IHandler", ApiSince=33)>]
member this.LineBreakWordStyle : int with get, set

Property Value

The line-break word style to be used for text wrapping.

Attributes

Remarks

Property getter documentation:

Gets the current line-break word style for text wrapping.

Java documentation for android.widget.TextView.getLineBreakWordStyle().

Property setter documentation:

Sets the line-break word style for text wrapping.

The line-break word style affects dictionary-based line breaking by providing phrase-based line-breaking opportunities. Use LineBreakConfig#LINE_BREAK_WORD_STYLE_PHRASE to specify phrase-based line breaking.

The default line-break word style is LineBreakConfig#LINE_BREAK_WORD_STYLE_NONE, which specifies that no line-breaking word style is used.

See the

word-break property for more information.

Java documentation for android.widget.TextView.setLineBreakWordStyle(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to