DynamicLayout.Builder.SetEllipsize(TextUtils+TruncateAt) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set ellipsizing on the layout.
[Android.Runtime.Register("setEllipsize", "(Landroid/text/TextUtils$TruncateAt;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder? SetEllipsize(Android.Text.TextUtils.TruncateAt? ellipsize);
[<Android.Runtime.Register("setEllipsize", "(Landroid/text/TextUtils$TruncateAt;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetEllipsize : Android.Text.TextUtils.TruncateAt -> Android.Text.DynamicLayout.Builder
Parameters
- ellipsize
- TextUtils.TruncateAt
type of ellipsis behavior. This value may be null.
Returns
this builder, useful for chaining
- Attributes
Remarks
Set ellipsizing on the layout. Causes words that are longer than the view is wide, or exceeding the number of lines (see setMaxLines) in the case of TextUtils.TruncateAt.END or TextUtils.TruncateAt.MARQUEE, to be ellipsized instead of broken. The default is null, indicating no ellipsis is to be applied.
Android reference for android.text.DynamicLayout.Builder.setEllipsize.
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.