ViewGroup.ShowContextMenuForChild Method

Definition

Overloads

Name Description
ShowContextMenuForChild(View)

Bring up a context menu for the specified view or its ancestors.

ShowContextMenuForChild(View, Single, Single)

Requests that this parent show a context menu for the specified child at the supplied coordinates.

ShowContextMenuForChild(View)

Bring up a context menu for the specified view or its ancestors.

[Android.Runtime.Register("showContextMenuForChild", "(Landroid/view/View;)Z", "GetShowContextMenuForChild_Landroid_view_View_Handler")]
public virtual bool ShowContextMenuForChild(Android.Views.View? originalView);
[<Android.Runtime.Register("showContextMenuForChild", "(Landroid/view/View;)Z", "GetShowContextMenuForChild_Landroid_view_View_Handler")>]
abstract member ShowContextMenuForChild : Android.Views.View -> bool
override this.ShowContextMenuForChild : Android.Views.View -> bool

Parameters

originalView
View

The source view where the context menu was first invoked

Returns

The result of the show context menu for child operation.

Implements

Attributes

Remarks

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

ShowContextMenuForChild(View, Single, Single)

Requests that this parent show a context menu for the specified child at the supplied coordinates.

[Android.Runtime.Register("showContextMenuForChild", "(Landroid/view/View;FF)Z", "GetShowContextMenuForChild_Landroid_view_View_FFHandler", ApiSince=24)]
public virtual bool ShowContextMenuForChild(Android.Views.View? originalView, float x, float y);
[<Android.Runtime.Register("showContextMenuForChild", "(Landroid/view/View;FF)Z", "GetShowContextMenuForChild_Landroid_view_View_FFHandler", ApiSince=24)>]
abstract member ShowContextMenuForChild : Android.Views.View * single * single -> bool
override this.ShowContextMenuForChild : Android.Views.View * single * single -> bool

Parameters

originalView
View

The Android.Views.View value used for original view.

x
Single

The System.Single value used for x.

y
Single

The System.Single value used for y.

Returns

The result of the show context menu for child operation.

Implements

Attributes

Remarks

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