Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditBase.StartIconClicked Event

Occurs when a user taps the leading icon.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public event EventHandler StartIconClicked

#Event Data

The StartIconClicked event's data class is EventArgs.

#Remarks

Handle the StartIconClicked event to set an action that occurs when a user taps the start icon.

You can also use the StartIconCommand 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