Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TimeEdit.TimeIcon Property

Gets or sets a time icon image. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public ImageSource TimeIcon { get; set; }

#Property Value

Type Description
ImageSource

The icon image.

#Remarks

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

DevExpress MAUI TimeEdit - Icons

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}:

<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