View.PerformClick 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.
Call this view's OnClickListener, if it is defined.
[Android.Runtime.Register("performClick", "()Z", "GetPerformClickHandler")]
public virtual bool PerformClick ();
[<Android.Runtime.Register("performClick", "()Z", "GetPerformClickHandler")>]
abstract member PerformClick : unit -> bool
override this.PerformClick : unit -> bool
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.