Android.Views.IMenuItem.SetActionView Method
Set an action view for this menu item.

Syntax

[Android.Runtime.Register("setActionView", "(Landroid/view/View;)Landroid/view/MenuItem;", "GetSetActionView_Landroid_view_View_Handler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public IMenuItem SetActionView (View view)

See Also

IMenuItem.SetShowAsAction(ShowAsAction)

Parameters

view
View to use for presenting this item to the user.

Returns

Documentation for this section has not yet been entered.

Remarks

Set an action view for this menu item. An action view will be displayed in place of an automatically generated menu item element in the UI when this item is shown as an action within a parent.

Note: Setting an action view overrides the action provider set via IMenuItem.SetActionProvider(ActionProvider).

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11