Skip to main content

EditBase.EndIconClicked Event

Occurs when a user taps the trailing icon.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public event EventHandler EndIconClicked

Event Data

The EndIconClicked event's data class is EventArgs.

Remarks

Handle the EndIconClicked event to set an action that occurs when a user taps the end icon.

You can also use the EndIconCommand property.

Example

This example shows how to handle the StartIconClicked event.

Icon Event Example

<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