maui-devexpress-dot-maui-dot-editors-dot-editbase-b0d87121.md
Occurs when a user taps the error icon.
Namespace : DevExpress.Maui.Editors
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
public event EventHandler ErrorIconClicked
The ErrorIconClicked event's data class is EventArgs.
Handle the ErrorIconClicked event to set an action that occurs when a user taps the error icon.
You can also use the ErrorIconCommand property.
This example shows how to handle the StartIconClicked event.
<dxe:TextEdit x:Name="NameEditor"
LabelText="First Name"/>
<dxe:TextEdit x:Name="LoginEditor"
LabelText="Login"
StartIcon="icon"
StartIconClicked="LoginEditor_StartIconClicked"
HelpText="Tap the icon to use your first name as login"/>
private void LoginEditor_StartIconClicked(object sender, EventArgs e) {
LoginEditor.Text = NameEditor.Text;
}
See Also