Skip to main content

EditBase.EndIcon Property

Gets or sets the trailing icon image. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public ImageSource EndIcon { get; set; }

Property Value

Type Description
ImageSource

The icon’s image.

Remarks

If the EndIcon property is set, the trailing icon appears on the right side of the editor.

DevExpress MAUI TextEdit  - Icons

To set the image for the end icon, follow the steps below:

  1. Add the icon file (for example, icon.svg) to the Resources/Images folder. Make sure that its build action is set to MauiImage.

  2. Assign the icon to the EndIcon property:

    <dxe:TextEdit EndIcon="icon"/>
    

Use the EndIconColor property to color the icon.

The following settings allow you to set the action that occurs when a user taps the end icon:

Property/Event

Description

EndIconClicked

Occurs when a user taps the trailing icon.

EndIconCommand

Gets or sets the command executed when a user taps the trailing icon. This is a bindable property.

EndIconCommandParameter

Gets or sets the parameter passed to the EndIconCommand. This is a bindable property.

See Also