Sdílet prostřednictvím


IViewParent.StartActionModeForChild Method

Definition

Overloads

StartActionModeForChild(View, ActionMode+ICallback)

Start an action mode for the specified view with the default type ActionMode#TYPE_PRIMARY.

StartActionModeForChild(View, ActionMode+ICallback, ActionModeType)

Start an action mode for the specified view with the default type ActionMode#TYPE_PRIMARY.

StartActionModeForChild(View, ActionMode+ICallback)

Start an action mode for the specified view with the default type ActionMode#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:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public 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:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member 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 new action mode if it was started, null otherwise

Attributes

Remarks

Java documentation for android.view.ViewParent.startActionModeForChild(android.view.View, android.view.Callback).

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.

See also

  • <xref:Android.Views.IViewParent.StartActionModeForChild(Android.Views.View%2c+.ICallback%2c+.ICallback)>

Applies to

StartActionModeForChild(View, ActionMode+ICallback, ActionModeType)

Start an action mode for the specified view with the default type ActionMode#TYPE_PRIMARY.

[Android.Runtime.Register("startActionModeForChild", "(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetStartActionModeForChild_Landroid_view_View_Landroid_view_ActionMode_Callback_IHandler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public 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:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member StartActionModeForChild : Android.Views.View * Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> 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 new action mode if it was started, null otherwise

Attributes

Remarks

Java documentation for android.view.ViewParent.startActionModeForChild(android.view.View, android.view.Callback).

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