Udostępnij za pośrednictwem


AutoCompleteTextView.DropDownAnchor Property

Definition

Returns the id for the view that the auto-complete drop down list is anchored to. -or- Sets the view to which the auto-complete drop down list should anchor.

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

Property Value

the view's id, or View#NO_ID if none specified

Attributes

Remarks

Property getter documentation:

Returns the id for the view that the auto-complete drop down list is anchored to.

Java documentation for android.widget.AutoCompleteTextView.getDropDownAnchor().

Property setter documentation:

Sets the view to which the auto-complete drop down list should anchor. The view corresponding to this id will not be loaded until the next time it is needed to avoid loading a view which is not yet instantiated.

Java documentation for android.widget.AutoCompleteTextView.setDropDownAnchor(int).

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