Android.Views.IMenuItem.CollapseActionView Method
Collapse the action view associated with this menu item.

Syntax

[Android.Runtime.Register("collapseActionView", "()Z", "GetCollapseActionViewHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool CollapseActionView ()

Returns

Documentation for this section has not yet been entered.

Remarks

Collapse the action view associated with this menu item. The menu item must have an action view set, as well as the showAsAction flag IMenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW. If a listener has been set using IMenuItem.SetOnActionExpandListener(IMenuItemOnActionExpandListener) it will have its IMenuItemOnActionExpandListener.OnMenuItemActionCollapse(IMenuItem) method invoked. The listener may return false from this method to prevent collapsing the action view.

[Android Documentation]

Requirements

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