IContextMenu.SetHeaderView(View) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the header of the context menu to the View
given in
<var>view</var>.
[Android.Runtime.Register("setHeaderView", "(Landroid/view/View;)Landroid/view/ContextMenu;", "GetSetHeaderView_Landroid_view_View_Handler:Android.Views.IContextMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.IContextMenu? SetHeaderView (Android.Views.View? view);
[<Android.Runtime.Register("setHeaderView", "(Landroid/view/View;)Landroid/view/ContextMenu;", "GetSetHeaderView_Landroid_view_View_Handler:Android.Views.IContextMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetHeaderView : Android.Views.View -> Android.Views.IContextMenu
Parameters
- view
- View
The View
used for the header.
Returns
This ContextMenu so additional setters can be called.
- Attributes
Remarks
Sets the header of the context menu to the View
given in <var>view</var>. This replaces the header title and icon (and those replace this).
Java documentation for android.view.ContextMenu.setHeaderView(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.