Udostępnij za pośrednictwem


PopupMenu.Menu Property

Definition

Returns the Menu associated with this popup.

public virtual Android.Views.IMenu? Menu { [Android.Runtime.Register("getMenu", "()Landroid/view/Menu;", "GetGetMenuHandler")] get; }
[<get: Android.Runtime.Register("getMenu", "()Landroid/view/Menu;", "GetGetMenuHandler")>]
member this.Menu : Android.Views.IMenu

Property Value

the Menu associated with this popup

Attributes

Remarks

Returns the Menu associated with this popup. Populate the returned Menu with items before calling #show().

Java documentation for android.widget.PopupMenu.getMenu().

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