Android.Widget.TextView.SetError Method
Sets the right-hand compound drawable of the TextView to the specified icon and sets an error message that will be displayed in a popup when the TextView has focus.

Syntax

[Android.Runtime.Register("setError", "(Ljava/lang/CharSequence;Landroid/graphics/drawable/Drawable;)V", "GetSetError_Ljava_lang_CharSequence_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetError (Java.Lang.ICharSequence error, Android.Graphics.Drawables.Drawable icon)

Parameters

error
Documentation for this section has not yet been entered.
icon
Documentation for this section has not yet been entered.

Remarks

Sets the right-hand compound drawable of the TextView to the specified icon and sets an error message that will be displayed in a popup when the TextView has focus. The icon and error message will be reset to null when any key events cause changes to the TextView's text. The drawable must already have had Android.Graphics.Drawables.Drawable.Bounds set on it. If the error is null, the error message will be cleared (and you should provide a null icon as well).

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1