Condividi tramite


TextView.TransformationMethod Property

Definition

Gets the current android.text.method.TransformationMethod for the TextView. -or- Sets the transformation that is applied to the text that this TextView is displaying.

public Android.Text.Method.ITransformationMethod? TransformationMethod { [Android.Runtime.Register("getTransformationMethod", "()Landroid/text/method/TransformationMethod;", "")] get; [Android.Runtime.Register("setTransformationMethod", "(Landroid/text/method/TransformationMethod;)V", "")] set; }
[<get: Android.Runtime.Register("getTransformationMethod", "()Landroid/text/method/TransformationMethod;", "")>]
[<set: Android.Runtime.Register("setTransformationMethod", "(Landroid/text/method/TransformationMethod;)V", "")>]
member this.TransformationMethod : Android.Text.Method.ITransformationMethod with get, set

Property Value

the current transformation method for this TextView.

Attributes

Remarks

Property getter documentation:

Gets the current android.text.method.TransformationMethod for the TextView. This is frequently null, except for single-line and password fields.

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

Property setter documentation:

Sets the transformation that is applied to the text that this TextView is displaying.

Java documentation for android.widget.TextView.setTransformationMethod(android.text.method.TransformationMethod).

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