Back to Devexpress

NumericEdit.DownIcon Property

maui-devexpress-dot-maui-dot-editors-dot-numericedit-1c86aedc.md

latest2.5 KB
Original Source

NumericEdit.DownIcon Property

Gets or sets a custom image for the down icon that decreases the editor’s value. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public ImageSource DownIcon { get; set; }

Property Value

TypeDescription
ImageSource

The icon image.

|

Remarks

Set the IsUpDownIconVisible property to true to display up and down icons in the editor. These icons allow users to increase and decrease the editor’s number by the step value.

To use a custom image for the up or down icon, follow the steps below:

  1. Add the icon file (for example, icon.png) to the Resources/Images folder.

  2. Assign the icon to the UpIcon or DownIcon property, for example:

The UpIconColor and DownIconColor properties specify the up and down icon colors.

The following settings allow you to assign custom actions to the up and down icons:

|

Event / Property

|

Description

| | --- | --- | |

UpIconClicked / DownIconClicked

|

Events that occur when a user taps the up and down icons.

| |

UpIconCommand / DownIconCommand
UpIconCommandParameter / DownIconCommandParameter

|

Commands executed when a user taps the up and down icons, and
parameters passed to these commands.

|

See Also

NumericEdit Class

NumericEdit Members

DevExpress.Maui.Editors Namespace