Back to Devexpress

TimeEdit.TimeIconClicked Event

maui-devexpress-dot-maui-dot-editors-dot-timeedit-cd5e8c8f.md

latest2.6 KB
Original Source

TimeEdit.TimeIconClicked Event

Fires when a user taps the time icon.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public event HandledEventHandler TimeIconClicked

Event Data

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

PropertyDescription
HandledGets 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 TimeIcon property specifies an icon that appears on the right side of the edit box. The default icon is a clock.

The editor gets colors for its icons from the applied theme. Use the TimeIconColor property to apply a custom color to the time icon. If you need the editor to display this icon in its original color, set the TimeIconColor property to {x:Null}:

xaml
<dxe:TimeEdit ...
                TimeIconColor="{x:Null}"/>

To hide the time icon, use the IsTimeIconVisible property.

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

|

Event/Properties

|

Description

| | --- | --- | |

TimeIconClicked

|

Allows you to assign an additional action to the time icon.

| |

TimeIconCommand

|

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

| |

TimeIconCommandParameter

|

Gets or sets the parameter passed to the TimeIconCommand. This is a bindable property.

|

See Also

TimeEdit Class

TimeEdit Members

DevExpress.Maui.Editors Namespace