Skip to main content

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

public ImageSource DownIcon { get; set; }

Property Value

Type Description
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.

DevExpress MAUI NumericEdit - UpDown Icons

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:

    <dxe:NumericEdit DownIcon = "icon"/>
    

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