Compartilhar via


ListPopupWindow.AnchorView Property

Definition

Returns the view that will be used to anchor this popup. -or- Sets the popup's anchor view.

public virtual Android.Views.View? AnchorView { [Android.Runtime.Register("getAnchorView", "()Landroid/view/View;", "GetGetAnchorViewHandler")] get; [Android.Runtime.Register("setAnchorView", "(Landroid/view/View;)V", "GetSetAnchorView_Landroid_view_View_Handler")] set; }
[<get: Android.Runtime.Register("getAnchorView", "()Landroid/view/View;", "GetGetAnchorViewHandler")>]
[<set: Android.Runtime.Register("setAnchorView", "(Landroid/view/View;)V", "GetSetAnchorView_Landroid_view_View_Handler")>]
member this.AnchorView : Android.Views.View with get, set

Property Value

The popup's anchor view

Attributes

Remarks

Property getter documentation:

Returns the view that will be used to anchor this popup.

Java documentation for android.widget.ListPopupWindow.getAnchorView().

Property setter documentation:

Sets the popup's anchor view. This popup will always be positioned relative to the anchor view when shown.

Java documentation for android.widget.ListPopupWindow.setAnchorView(android.view.View).

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