maui-devexpress-dot-maui-dot-editors-dot-editbase-c8b8426a.md
Gets or sets the command executed when a user taps the clear icon. This is a bindable property.
Namespace : DevExpress.Maui.Editors
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
public ICommand ClearIconCommand { get; set; }
| Type | Description |
|---|---|
| ICommand |
The command that exposes the ICommand interface.
|
Use the ClearIconCommand property to set the action that occurs when a user taps the clear icon. The ClearIconCommandParameter property allows you to pass data to the ClearIconCommand.
You can also use the ClearIconClicked event to define the action on clear icon tap.
This example shows how to create a custom command with a parameter and execute it when a user taps the start icon.
In a view model, create a command that implements the ICommand interface:
Bind the specified command to the StartIconCommand property and define the StartIconCommandParameter value:
See Also