ViewGroup.StartActionModeForChild Method

Definition

Overloads

Name Description
StartActionModeForChild(View, ActionMode+ICallback)

Start an action mode for the specified view with the default type Primary.

StartActionModeForChild(View, ActionMode+ICallback, ActionModeType)

Starts a contextual action mode for the specified child using the supplied callback and type.

StartActionModeForChild(View, ActionMode+ICallback)

Start an action mode for the specified view with the default type Primary.

[Android.Runtime.Register("startActionModeForChild", "(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetStartActionModeForChild_Landroid_view_View_Landroid_view_ActionMode_Callback_Handler")]
public virtual Android.Views.ActionMode? StartActionModeForChild(Android.Views.View? originalView, Android.Views.ActionMode.ICallback? callback);
[<Android.Runtime.Register("startActionModeForChild", "(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetStartActionModeForChild_Landroid_view_View_Landroid_view_ActionMode_Callback_Handler")>]
abstract member StartActionModeForChild : Android.Views.View * Android.Views.ActionMode.ICallback -> Android.Views.ActionMode
override this.StartActionModeForChild : Android.Views.View * Android.Views.ActionMode.ICallback -> Android.Views.ActionMode

Parameters

originalView
View

The source view where the action mode was first invoked

callback
ActionMode.ICallback

The callback that will handle lifecycle events for the action mode

Returns

The result of the start action mode 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

StartActionModeForChild(View, ActionMode+ICallback, ActionModeType)

Starts a contextual action mode for the specified child using the supplied callback and type.

[Android.Runtime.Register("startActionModeForChild", "(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetStartActionModeForChild_Landroid_view_View_Landroid_view_ActionMode_Callback_IHandler", ApiSince=23)]
public virtual Android.Views.ActionMode? StartActionModeForChild(Android.Views.View? originalView, Android.Views.ActionMode.ICallback? callback, Android.Views.ActionModeType type);
[<Android.Runtime.Register("startActionModeForChild", "(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetStartActionModeForChild_Landroid_view_View_Landroid_view_ActionMode_Callback_IHandler", ApiSince=23)>]
abstract member StartActionModeForChild : Android.Views.View * Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode
override this.StartActionModeForChild : Android.Views.View * Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode

Parameters

originalView
View

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

callback
ActionMode.ICallback

The Android.Views.ActionMode+ICallback value used for callback.

type
ActionModeType

The Android.Views.ActionModeType value used for type.

Returns

The result of the start action mode 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