Udostępnij za pośrednictwem


PopupWindow.ContentView Property

Definition

Return the view used as the content of the popup window. -or- Change the popup's content.

public virtual Android.Views.View? ContentView { [Android.Runtime.Register("getContentView", "()Landroid/view/View;", "GetGetContentViewHandler")] get; [Android.Runtime.Register("setContentView", "(Landroid/view/View;)V", "GetSetContentView_Landroid_view_View_Handler")] set; }
[<get: Android.Runtime.Register("getContentView", "()Landroid/view/View;", "GetGetContentViewHandler")>]
[<set: Android.Runtime.Register("setContentView", "(Landroid/view/View;)V", "GetSetContentView_Landroid_view_View_Handler")>]
member this.ContentView : Android.Views.View with get, set

Property Value

a android.view.View representing the popup's content

Attributes

Remarks

Property getter documentation:

Return the view used as the content of the popup window.

Java documentation for android.widget.PopupWindow.getContentView().

Property setter documentation:

Change the popup's content. The content is represented by an instance of android.view.View.

This method has no effect if called when the popup is showing.

Java documentation for android.widget.PopupWindow.setContentView(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

See also