Skip to main content

DateEdit.DateIconClicked Event

Fires when the date icon is clicked.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public event HandledEventHandler DateIconClicked

Event Data

The DateIconClicked event's data class is HandledEventArgs. The following properties provide information specific to this event:

Property Description
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.

Remarks

The DateIcon property specifies an icon that appears on the right side of the edit box. The default icon is a calendar.

The editor gets colors for its icons from the applied theme. Use the DateIconColor property to apply a custom color to the date icon. If you need the editor to display this icon in its original color, set the DateIconColor property to Color.Default.

The IsDateIconVisible property allows you to hide the date icon.

The following settings allow you to specify the action executed when a user taps the date icon:

Event/Properties

Description

DateIconClicked

Fires when the date icon is clicked.

DateIconCommand

Specifies a command executed when a user taps the date icon.

DateIconCommandParameter

Specifies a parameter passed to the DateIconCommand.

See Also