Back to Devexpress

EditBase.ErrorIconCommand Property

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

latest1.9 KB
Original Source

EditBase.ErrorIconCommand Property

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

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public ICommand ErrorIconCommand { get; set; }

Property Value

TypeDescription
ICommand

The command that exposes the ICommand interface.

|

Remarks

Use the ErrorIconCommand property to set the action that occurs when a user taps the error icon. The ErrorIconCommandParameter property allows you to pass data to ErrorIconCommand.

You can also use the ErrorIconClicked event to define the action on error icon tap.

Example

This example shows how to create a custom command with a parameter and execute it when a user taps the start icon.

  1. In a view model, create a command that implements the ICommand interface:

  2. Bind the specified command to the StartIconCommand property and define the StartIconCommandParameter value:

See Also

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace