ActionMode.Tag Property

Definition

Retrieve the tag object associated with this ActionMode. -or- Set a tag object associated with this ActionMode.

public virtual Java.Lang.Object? Tag { [Android.Runtime.Register("getTag", "()Ljava/lang/Object;", "GetGetTagHandler")] get; [Android.Runtime.Register("setTag", "(Ljava/lang/Object;)V", "GetSetTag_Ljava_lang_Object_Handler")] set; }
[<get: Android.Runtime.Register("getTag", "()Ljava/lang/Object;", "GetGetTagHandler")>]
[<set: Android.Runtime.Register("setTag", "(Ljava/lang/Object;)V", "GetSetTag_Ljava_lang_Object_Handler")>]
member this.Tag : Java.Lang.Object with get, set

Property Value

Tag associated with this ActionMode

Attributes

Remarks

Property getter documentation:

Retrieve the tag object associated with this ActionMode.

Like the tag available to views, this allows applications to associate arbitrary data with an ActionMode for later reference.

Java documentation for android.view.ActionMode.getTag().

Property setter documentation:

Set a tag object associated with this ActionMode.

Like the tag available to views, this allows applications to associate arbitrary data with an ActionMode for later reference.

Java documentation for android.view.ActionMode.setTag(java.lang.Object).

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

See also