Back to Devexpress

EditBase.StartIcon Property

maui-devexpress-dot-maui-dot-editors-dot-editbase.md

latest2.1 KB
Original Source

EditBase.StartIcon Property

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

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public ImageSource StartIcon { get; set; }

Property Value

TypeDescription
ImageSource

The icon’s image.

|

Remarks

If the StartIcon property is set, the leading icon appears on the left side of the editor.

To set the image for the start 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 StartIcon property:

Use the StartIconColor property to color the icon.

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

|

Property/Event

|

Description

| | --- | --- | |

StartIconClicked

|

Occurs when a user taps the leading icon.

| |

StartIconCommand

|

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

| |

StartIconCommandParameter

|

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

|

See Also

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace