Share via


ViewGroup.StartActionModeForChild Method

Definition

Overloads

StartActionModeForChild(View, ActionMode+ICallback)

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

StartActionModeForChild(View, ActionMode+ICallback, ActionModeType)

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

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)

[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

Returns

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