DynamicLayout.Builder.SetDisplayText 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.
Overloads
| Name | Description |
|---|---|
| SetDisplayText(ICharSequence) |
Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed. |
| SetDisplayText(String) |
SetDisplayText(ICharSequence)
Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed.
[Android.Runtime.Register("setDisplayText", "(Ljava/lang/CharSequence;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetDisplayText(Java.Lang.ICharSequence display);
[<Android.Runtime.Register("setDisplayText", "(Ljava/lang/CharSequence;)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetDisplayText : Java.Lang.ICharSequence -> Android.Text.DynamicLayout.Builder
Parameters
- display
- ICharSequence
the transformed text. This value cannot be null.
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set the transformed text (password transformation being the primary example of a transformation) that will be updated as the base text is changed. The default is the 'base' text passed to the builder's constructor.
Android reference for android.text.DynamicLayout.Builder.setDisplayText.
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
SetDisplayText(String)
public Android.Text.DynamicLayout.Builder SetDisplayText(string display);
member this.SetDisplayText : string -> Android.Text.DynamicLayout.Builder
Parameters
- display
- String