共用方式為


View.OnFocusChangeListener Property

Definition

Returns the focus-change callback registered for this view. -or- Register a callback to be invoked when focus of this view changed.

public virtual Android.Views.View.IOnFocusChangeListener? OnFocusChangeListener { [Android.Runtime.Register("getOnFocusChangeListener", "()Landroid/view/View$OnFocusChangeListener;", "GetGetOnFocusChangeListenerHandler")] get; [Android.Runtime.Register("setOnFocusChangeListener", "(Landroid/view/View$OnFocusChangeListener;)V", "GetSetOnFocusChangeListener_Landroid_view_View_OnFocusChangeListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnFocusChangeListener", "()Landroid/view/View$OnFocusChangeListener;", "GetGetOnFocusChangeListenerHandler")>]
[<set: Android.Runtime.Register("setOnFocusChangeListener", "(Landroid/view/View$OnFocusChangeListener;)V", "GetSetOnFocusChangeListener_Landroid_view_View_OnFocusChangeListener_Handler")>]
member this.OnFocusChangeListener : Android.Views.View.IOnFocusChangeListener with get, set

Property Value

The callback, or null if one is not registered.

Attributes

Remarks

Property getter documentation:

Java documentation for android.view.View.getOnFocusChangeListener().

Property setter documentation:

Java documentation for android.view.View.setOnFocusChangeListener(android.view.OnFocusChangeListener).

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