IViewParent.StartActionModeForChild Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartActionModeForChild(View, ActionMode+ICallback) |
Start an action mode for the specified view with the default type
|
StartActionModeForChild(View, ActionMode+ICallback, ActionModeType) |
Start an action mode for the specified view with the default type
|
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
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
- type
- ActionModeType
Returns
The new action mode if it was started, null otherwise
- 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.