语言

ActionMode.Type 属性

定义

返回此操作模式的类型。 - 或 - 设置此操作模式的类型。

public virtual Android.Views.ActionModeType Type { [Android.Runtime.Register("getType", "()I", "GetGetTypeHandler", ApiSince=23)] get; [Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getType", "()I", "GetGetTypeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler", ApiSince=23)>]
member this.Type : Android.Views.ActionModeType with get, set

属性值

其中一个是 #TYPE_PRIMARY 或 #TYPE_FLOATING.

特性

注解

属性 getter 文档:

返回此操作模式的类型。

Java文档android.view.ActionMode.getType()。

属性 setter 文档:

设置此操作模式的类型。 如果系统必须呈现操作模式,这将影响系统呈现操作模式的方式。

Java文档android.view.ActionMode.setType(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于