AutoCompleteTextView.DropDownAnchor 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回自动完成下拉列表定位到的视图的 ID。 - 或 - 设置自动完成下拉列表应定位到的视图。
public virtual int DropDownAnchor { [Android.Runtime.Register("getDropDownAnchor", "()I", "GetGetDropDownAnchorHandler")] get; [Android.Runtime.Register("setDropDownAnchor", "(I)V", "GetSetDropDownAnchor_IHandler")] set; }
[<get: Android.Runtime.Register("getDropDownAnchor", "()I", "GetGetDropDownAnchorHandler")>]
[<set: Android.Runtime.Register("setDropDownAnchor", "(I)V", "GetSetDropDownAnchor_IHandler")>]
member this.DropDownAnchor : int with get, set
属性值
视图的 ID,如果未指定,则 View#NO_ID 为
- 特性
注解
属性 getter 文档:
返回自动完成下拉列表定位到的视图的 ID。
Java文档android.widget.AutoCompleteTextView.getDropDownAnchor()。
属性 setter 文档:
设置自动完成下拉列表应定位到的视图。 在下次需要时,才加载与此 ID 对应的视图,以避免加载尚未实例化的视图。
Java文档android.widget.AutoCompleteTextView.setDropDownAnchor(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。