Android Guides | Samples

Android.Widget.AdapterView.AdapterContextMenuInfo Class

Extra menu information provided to the IOnCreateContextMenuListener.OnCreateContextMenu(IContextMenu,View,View) callback when a context menu is brought up for this AdapterView.

See Also: AdapterView+AdapterContextMenuInfo

Syntax

[Android.Runtime.Register("android/widget/AdapterView$AdapterContextMenuInfo", DoNotGenerateAcw=true)]
public class AdapterView.AdapterContextMenuInfo : Object, IContextMenuContextMenuInfo, IDisposable

Remarks

Extra menu information provided to the IOnCreateContextMenuListener.OnCreateContextMenu(IContextMenu,View,View) callback when a context menu is brought up for this AdapterView.

[Android Documentation]

Requirements

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

The members of Android.Widget.AdapterView.AdapterContextMenuInfo are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

IdInt64. The row id of the item for which the context menu is being displayed.
PositionInt32. The position in the adapter for which the context menu is being displayed.
TargetViewView. The child view for which the context menu is being displayed.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.