共用方式為


Dialog.OnWindowStartingActionMode Method

Definition

Overloads

OnWindowStartingActionMode(ActionMode+ICallback)

Called when an action mode is being started for this window.

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

OnWindowStartingActionMode(ActionMode+ICallback)

Called when an action mode is being started for this window.

[Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_Handler")]
public virtual Android.Views.ActionMode? OnWindowStartingActionMode (Android.Views.ActionMode.ICallback? callback);
[<Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_Handler")>]
abstract member OnWindowStartingActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode
override this.OnWindowStartingActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

Callback to control the lifecycle of this 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

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

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

Parameters

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