View.PerformClick Method

Definition

Call this view's OnClickListener, if it is defined.

C#
[Android.Runtime.Register("performClick", "()Z", "GetPerformClickHandler")]
public virtual bool PerformClick ();

Returns

True there was an assigned OnClickListener that was called, false otherwise is returned.

Attributes

Remarks

Call this view's OnClickListener, if it is defined. Performs all normal actions associated with clicking: reporting accessibility event, playing a sound, etc.

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

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35