Udostępnij za pośrednictwem


TextView.LinksClickable Property

Definition

Returns whether the movement method will automatically be set to LinkMovementMethod if #setAutoLinkMask has been set to nonzero and links are detected in #setText. -or- Sets whether the movement method will automatically be set to LinkMovementMethod if #setAutoLinkMask has been set to nonzero and links are detected in #setText.

public bool LinksClickable { [Android.Runtime.Register("getLinksClickable", "()Z", "")] get; [Android.Runtime.Register("setLinksClickable", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getLinksClickable", "()Z", "")>]
[<set: Android.Runtime.Register("setLinksClickable", "(Z)V", "")>]
member this.LinksClickable : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether the movement method will automatically be set to LinkMovementMethod if #setAutoLinkMask has been set to nonzero and links are detected in #setText. The default is true.

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

Property setter documentation:

Sets whether the movement method will automatically be set to LinkMovementMethod if #setAutoLinkMask has been set to nonzero and links are detected in #setText. The default is true.

Java documentation for android.widget.TextView.setLinksClickable(boolean).

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